69 references to dcpFirst
PresentationFramework (69)
MS\Internal\PtsHost\TextParaClient.cs (69)
550if (dcpLine == lineDesc.dcpFirst) 1009if (dcpLine == lineDesc.dcpFirst) 1268List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(lineDesc.dcpFirst, lineDesc.dcpLim); 1552lines.Add(new TextParaLineResult(this, lineDesc.dcpFirst, lineDesc.dcpLim - lineDesc.dcpFirst, 1662if ( ((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 1671ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 1674TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 1677Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 1853if (dcpEnd < lineDesc.dcpFirst) 1862if (dcpEnd <= lineDesc.dcpFirst) 1879int dcpRangeStartForThisLine = Math.Max(lineDesc.dcpFirst, dcpStart); 2076Invariant.Assert(lineDesc.dcpFirst <= dcpRangeStart && dcpRangeStart <= lineDesc.dcpLim && cchRange > 0); 2100if (dcpRangeStart == lineDesc.dcpFirst && lineDesc.dcpLim <= (dcpRangeStart + cchRange)) 2112ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2114TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2116Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 2392if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 2406if (lineDesc.dcpFirst == dcp) 2441ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2444TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2447Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 2611if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 2614if (dcp == lineDesc.dcpFirst && direction == LogicalDirection.Backward) 2644ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2647TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2650Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 2681else if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == lineDesc.dcpFirst) && direction == LogicalDirection.Backward) 2901if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 2904if (dcp == lineDesc.dcpFirst) 2926ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2929TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2932Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 2938if (backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength == lineDesc.dcpFirst) 3116if (dcpStart < lineDesc.dcpLim && dcpEnd > lineDesc.dcpFirst) 3124ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3127TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3130Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3133line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, lineDesc.dcpFirst), Math.Min(dcpEnd, lineDesc.dcpLim)); 3244ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3247TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3250Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3289ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3292TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3295Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3346ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3349TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3352Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3811ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3817TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3820Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3827Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3920if (end <= lineDesc.dcpFirst) 3928int localStart = (start < lineDesc.dcpFirst) ? lineDesc.dcpFirst : start; 3938ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3941TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3944Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");