51 references to dcpLim
PresentationFramework (51)
MS\Internal\PtsHost\TextParaClient.cs (51)
590dcpLim = element.dcpLim; 1051dcpLim = element.dcpLim; 1302List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(element.dcpFirst, element.dcpLim); 1613lines.Add(new TextParaLineResult(this, element.dcpFirst, element.dcpLim - element.dcpFirst, 1759if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp)) 1760|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1))) 1768ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 1774Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 1984if ( elemDesc.dcpLim > dcpStart 1985|| ( (elemDesc.dcpLim == dcpStart) 1992int cchRangeForThisElem = Math.Max(Math.Min(elemDesc.dcpLim, dcpEnd) - dcpRangeStartForThisElem, 1); 1997|| (dcpEnd >= elemDesc.dcpLim && HasAnyLineBreakAtCp(elemDesc.dcpLim) ) ) 2211if (dcpRangeStart == elemDesc.dcpFirst && elemDesc.dcpLim <= (dcpRangeStart + cchRange)) 2223ctx.LineFormatLengthTarget = elemDesc.dcpLim - elemDesc.dcpFirst; 2226Invariant.Assert(line.SafeLength == elemDesc.dcpLim - elemDesc.dcpFirst, "Line length is out of sync"); 2496if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp)) 2497|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1))) 2500if (dcp >= element.dcpLim - 1 && elIndex == arrayLineElement.Length - 1 && index == arrayLineDesc.Length - 1) 2565ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 2571Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 2745if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp)) 2746|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1))) 2788else if (dcp >= element.dcpLim - 1 && direction == LogicalDirection.Forward) 2790if (dcp == element.dcpLim) 2797else if (dcp == element.dcpLim - 1 && elIndex == arrayLineElement.Length - 1 && index == arrayLineDesc.Length - 1) 2810ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 2816Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 2831if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == element.dcpLim) && direction == LogicalDirection.Forward) 3002if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp)) 3003|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1))) 3052ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 3058Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 3178if (dcpStart < element.dcpLim && dcpEnd > element.dcpFirst) 3186ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 3192Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 3195line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, element.dcpFirst), Math.Min(dcpEnd, element.dcpLim)); 3201if (dcpEnd < element.dcpLim) 3638ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 3644Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 3707ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 3713Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 4002ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 4011Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 4018Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 4021Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync"); 4116if (start >= element.dcpLim) 4129int localEnd = (end < element.dcpLim) ? end : element.dcpLim; 4137ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst; 4143Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");