MS\Internal\PtsHost\TextParaClient.cs (82)
76if(IsDeferredVisualCreationSupported(ref textDetails.u.full))
84SyncUpdateDeferredLineVisuals(lineContainerVisual.Children, ref textDetails.u.full, ignoreUpdateInfo);
102if (textDetails.u.full.cLines > 0)
104if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
107RenderSimpleLines(lineContainerVisual, ref textDetails.u.full, ignoreUpdateInfo);
112RenderCompositeLines(lineContainerVisual, ref textDetails.u.full, ignoreUpdateInfo);
123if (textDetails.u.full.cAttachedObjects > 0)
125ValidateVisualFloatersAndFigures(fskupdInherited, textDetails.u.full.cAttachedObjects);
153if (IsDeferredVisualCreationSupported(ref textDetails.u.full))
160UpdateViewportSimpleLines(lineContainerVisual, ref textDetails.u.full, ref viewport);
163int attachedObjectCount = textDetails.u.full.cAttachedObjects;
211if (textDetails.u.full.cLines > 0)
213if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
216ie = InputHitTestSimpleLines(localPoint, ref textDetails.u.full);
221ie = InputHitTestCompositeLines(localPoint, ref textDetails.u.full);
263if (textDetails.u.full.cAttachedObjects > 0)
266PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
288if (rectangles.Count == 0 && textDetails.u.full.cLines > 0)
290if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
293rectangles = GetRectanglesInSimpleLines(e, start, length, ref textDetails.u.full);
298rectangles = GetRectanglesInCompositeLines(e, start, length, ref textDetails.u.full);
354if (textDetails.u.full.cLines > 0)
356if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
359lines = LineResultsFromSimpleLines(ref textDetails.u.full);
364lines = LineResultsFromCompositeLines(ref textDetails.u.full);
391&& textDetails.u.full.cAttachedObjects > 0)
395PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
429&& textDetails.u.full.cAttachedObjects > 0)
432PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
466dcpFirst = textDetails.u.full.dcpFirst;
467dcpLast = textDetails.u.full.dcpLim;
486int attachedObjectCount = textDetails.u.full.cAttachedObjects;
531if (textDetails.u.full.cLines > 0)
533if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
537PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
561PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
640if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
643RectFromDcpSimpleLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline);
648RectFromDcpCompositeLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline);
694if (textDetails.u.full.cLines > 0)
698if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
701RectFromDcpSimpleLines(dcp, originalDcp, position.LogicalDirection, position.GetPointerContext(position.LogicalDirection), ref textDetails.u.full, ref rect, ref vrBaseline);
706RectFromDcpCompositeLines(dcp, originalDcp, position.LogicalDirection, position.GetPointerContext(position.LogicalDirection), ref textDetails.u.full, ref rect, ref vrBaseline);
772if (textDetails.u.full.cLines > 0)
774if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
777geometry = PathGeometryFromDcpRangeSimpleLines(dcpStart, dcpEnd, firstLineTopSpace, handleEndOfPara, ref textDetails.u.full, visibleRect);
782geometry = PathGeometryFromDcpRangeCompositeLines(dcpStart, dcpEnd, firstLineTopSpace, handleEndOfPara, ref textDetails.u.full, visibleRect);
786if (textDetails.u.full.cAttachedObjects > 0)
788floatAndFigGeometry = PathGeometryFromDcpRangeFloatersAndFigures(cpStartTextPointer, cpEndTextPointer, ref textDetails.u.full);
840if (textDetails.u.full.cLines > 0)
842if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
845isAtCaretUnitBoundary = IsAtCaretUnitBoundaryFromDcpSimpleLines(dcp, position, ref textDetails.u.full);
850isAtCaretUnitBoundary = IsAtCaretUnitBoundaryFromDcpCompositeLines(dcp, position, ref textDetails.u.full);
890if (textDetails.u.full.cLines > 0)
892if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
895nextCaretPosition = NextCaretUnitPositionFromDcpSimpleLines(dcp, position, direction, ref textDetails.u.full);
900nextCaretPosition = NextCaretUnitPositionFromDcpCompositeLines(dcp, position, direction, ref textDetails.u.full);
933if (textDetails.u.full.cLines > 0)
935if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
938backspaceCaretPosition = BackspaceCaretUnitPositionFromDcpSimpleLines(dcp, position, ref textDetails.u.full);
943backspaceCaretPosition = BackspaceCaretUnitPositionFromDcpCompositeLines(dcp, position, ref textDetails.u.full);
990if (textDetails.u.full.cLines > 0)
992if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
996PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1021PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1119Invariant.Assert(dcpStart >= textDetails.u.full.dcpFirst && dcpEnd <= textDetails.u.full.dcpLim);
1121if (textDetails.u.full.cLines > 0)
1123if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
1126GetGlyphRunsFromSimpleLines(glyphRuns, dcpStart, dcpEnd, ref textDetails.u.full);
1131GetGlyphRunsFromCompositeLines(glyphRuns, dcpStart, dcpEnd, ref textDetails.u.full);
1178return (textDetails.u.full.cLines > 0 && textDetails.u.full.dcpFirst == 0);
1196if (textDetails.u.full.cLines > 0)
1200lastChunk = (textDetails.u.full.dcpLim >= Paragraph.Cch);
1204lastChunk = (textDetails.u.full.dcpLim == Line.SyntheticCharacterLength);
1249if (textDetails.u.full.cLines > 0)
1251if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
1255PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1281PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1313if (textDetails.u.full.cAttachedObjects > 0)
1317PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);