MS\Internal\PtsHost\TextParaClient.cs (82)
75if(IsDeferredVisualCreationSupported(ref textDetails.u.full))
83SyncUpdateDeferredLineVisuals(lineContainerVisual.Children, ref textDetails.u.full, ignoreUpdateInfo);
101if (textDetails.u.full.cLines > 0)
103if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
106RenderSimpleLines(lineContainerVisual, ref textDetails.u.full, ignoreUpdateInfo);
111RenderCompositeLines(lineContainerVisual, ref textDetails.u.full, ignoreUpdateInfo);
122if (textDetails.u.full.cAttachedObjects > 0)
124ValidateVisualFloatersAndFigures(fskupdInherited, textDetails.u.full.cAttachedObjects);
152if (IsDeferredVisualCreationSupported(ref textDetails.u.full))
159UpdateViewportSimpleLines(lineContainerVisual, ref textDetails.u.full, ref viewport);
162int attachedObjectCount = textDetails.u.full.cAttachedObjects;
210if (textDetails.u.full.cLines > 0)
212if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
215ie = InputHitTestSimpleLines(localPoint, ref textDetails.u.full);
220ie = InputHitTestCompositeLines(localPoint, ref textDetails.u.full);
262if (textDetails.u.full.cAttachedObjects > 0)
265PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
287if (rectangles.Count == 0 && textDetails.u.full.cLines > 0)
289if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
292rectangles = GetRectanglesInSimpleLines(e, start, length, ref textDetails.u.full);
297rectangles = GetRectanglesInCompositeLines(e, start, length, ref textDetails.u.full);
353if (textDetails.u.full.cLines > 0)
355if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
358lines = LineResultsFromSimpleLines(ref textDetails.u.full);
363lines = LineResultsFromCompositeLines(ref textDetails.u.full);
390&& textDetails.u.full.cAttachedObjects > 0)
394PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
428&& textDetails.u.full.cAttachedObjects > 0)
431PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
465dcpFirst = textDetails.u.full.dcpFirst;
466dcpLast = textDetails.u.full.dcpLim;
485int attachedObjectCount = textDetails.u.full.cAttachedObjects;
530if (textDetails.u.full.cLines > 0)
532if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
536PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
560PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
639if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
642RectFromDcpSimpleLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline);
647RectFromDcpCompositeLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline);
693if (textDetails.u.full.cLines > 0)
697if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
700RectFromDcpSimpleLines(dcp, originalDcp, position.LogicalDirection, position.GetPointerContext(position.LogicalDirection), ref textDetails.u.full, ref rect, ref vrBaseline);
705RectFromDcpCompositeLines(dcp, originalDcp, position.LogicalDirection, position.GetPointerContext(position.LogicalDirection), ref textDetails.u.full, ref rect, ref vrBaseline);
771if (textDetails.u.full.cLines > 0)
773if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
776geometry = PathGeometryFromDcpRangeSimpleLines(dcpStart, dcpEnd, firstLineTopSpace, handleEndOfPara, ref textDetails.u.full, visibleRect);
781geometry = PathGeometryFromDcpRangeCompositeLines(dcpStart, dcpEnd, firstLineTopSpace, handleEndOfPara, ref textDetails.u.full, visibleRect);
785if (textDetails.u.full.cAttachedObjects > 0)
787floatAndFigGeometry = PathGeometryFromDcpRangeFloatersAndFigures(cpStartTextPointer, cpEndTextPointer, ref textDetails.u.full);
839if (textDetails.u.full.cLines > 0)
841if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
844isAtCaretUnitBoundary = IsAtCaretUnitBoundaryFromDcpSimpleLines(dcp, position, ref textDetails.u.full);
849isAtCaretUnitBoundary = IsAtCaretUnitBoundaryFromDcpCompositeLines(dcp, position, ref textDetails.u.full);
889if (textDetails.u.full.cLines > 0)
891if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
894nextCaretPosition = NextCaretUnitPositionFromDcpSimpleLines(dcp, position, direction, ref textDetails.u.full);
899nextCaretPosition = NextCaretUnitPositionFromDcpCompositeLines(dcp, position, direction, ref textDetails.u.full);
932if (textDetails.u.full.cLines > 0)
934if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
937backspaceCaretPosition = BackspaceCaretUnitPositionFromDcpSimpleLines(dcp, position, ref textDetails.u.full);
942backspaceCaretPosition = BackspaceCaretUnitPositionFromDcpCompositeLines(dcp, position, ref textDetails.u.full);
989if (textDetails.u.full.cLines > 0)
991if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
995PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1020PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1118Invariant.Assert(dcpStart >= textDetails.u.full.dcpFirst && dcpEnd <= textDetails.u.full.dcpLim);
1120if (textDetails.u.full.cLines > 0)
1122if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
1125GetGlyphRunsFromSimpleLines(glyphRuns, dcpStart, dcpEnd, ref textDetails.u.full);
1130GetGlyphRunsFromCompositeLines(glyphRuns, dcpStart, dcpEnd, ref textDetails.u.full);
1177return (textDetails.u.full.cLines > 0 && textDetails.u.full.dcpFirst == 0);
1195if (textDetails.u.full.cLines > 0)
1199lastChunk = (textDetails.u.full.dcpLim >= Paragraph.Cch);
1203lastChunk = (textDetails.u.full.dcpLim == Line.SyntheticCharacterLength);
1248if (textDetails.u.full.cLines > 0)
1250if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
1254PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1280PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1312if (textDetails.u.full.cAttachedObjects > 0)
1316PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);