MS\Internal\PtsHost\TextParaClient.cs (82)
82if(IsDeferredVisualCreationSupported(ref textDetails.u.full))
90SyncUpdateDeferredLineVisuals(lineContainerVisual.Children, ref textDetails.u.full, ignoreUpdateInfo);
108if (textDetails.u.full.cLines > 0)
110if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
113RenderSimpleLines(lineContainerVisual, ref textDetails.u.full, ignoreUpdateInfo);
118RenderCompositeLines(lineContainerVisual, ref textDetails.u.full, ignoreUpdateInfo);
129if (textDetails.u.full.cAttachedObjects > 0)
131ValidateVisualFloatersAndFigures(fskupdInherited, textDetails.u.full.cAttachedObjects);
159if (IsDeferredVisualCreationSupported(ref textDetails.u.full))
166UpdateViewportSimpleLines(lineContainerVisual, ref textDetails.u.full, ref viewport);
169int attachedObjectCount = textDetails.u.full.cAttachedObjects;
217if (textDetails.u.full.cLines > 0)
219if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
222ie = InputHitTestSimpleLines(localPoint, ref textDetails.u.full);
227ie = InputHitTestCompositeLines(localPoint, ref textDetails.u.full);
269if (textDetails.u.full.cAttachedObjects > 0)
272PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
294if (rectangles.Count == 0 && textDetails.u.full.cLines > 0)
296if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
299rectangles = GetRectanglesInSimpleLines(e, start, length, ref textDetails.u.full);
304rectangles = GetRectanglesInCompositeLines(e, start, length, ref textDetails.u.full);
360if (textDetails.u.full.cLines > 0)
362if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
365lines = LineResultsFromSimpleLines(ref textDetails.u.full);
370lines = LineResultsFromCompositeLines(ref textDetails.u.full);
397&& textDetails.u.full.cAttachedObjects > 0)
401PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
435&& textDetails.u.full.cAttachedObjects > 0)
438PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);
472dcpFirst = textDetails.u.full.dcpFirst;
473dcpLast = textDetails.u.full.dcpLim;
492int attachedObjectCount = textDetails.u.full.cAttachedObjects;
537if (textDetails.u.full.cLines > 0)
539if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
543PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
567PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
646if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
649RectFromDcpSimpleLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline);
654RectFromDcpCompositeLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline);
700if (textDetails.u.full.cLines > 0)
704if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
707RectFromDcpSimpleLines(dcp, originalDcp, position.LogicalDirection, position.GetPointerContext(position.LogicalDirection), ref textDetails.u.full, ref rect, ref vrBaseline);
712RectFromDcpCompositeLines(dcp, originalDcp, position.LogicalDirection, position.GetPointerContext(position.LogicalDirection), ref textDetails.u.full, ref rect, ref vrBaseline);
778if (textDetails.u.full.cLines > 0)
780if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
783geometry = PathGeometryFromDcpRangeSimpleLines(dcpStart, dcpEnd, firstLineTopSpace, handleEndOfPara, ref textDetails.u.full, visibleRect);
788geometry = PathGeometryFromDcpRangeCompositeLines(dcpStart, dcpEnd, firstLineTopSpace, handleEndOfPara, ref textDetails.u.full, visibleRect);
792if (textDetails.u.full.cAttachedObjects > 0)
794floatAndFigGeometry = PathGeometryFromDcpRangeFloatersAndFigures(cpStartTextPointer, cpEndTextPointer, ref textDetails.u.full);
846if (textDetails.u.full.cLines > 0)
848if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
851isAtCaretUnitBoundary = IsAtCaretUnitBoundaryFromDcpSimpleLines(dcp, position, ref textDetails.u.full);
856isAtCaretUnitBoundary = IsAtCaretUnitBoundaryFromDcpCompositeLines(dcp, position, ref textDetails.u.full);
896if (textDetails.u.full.cLines > 0)
898if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
901nextCaretPosition = NextCaretUnitPositionFromDcpSimpleLines(dcp, position, direction, ref textDetails.u.full);
906nextCaretPosition = NextCaretUnitPositionFromDcpCompositeLines(dcp, position, direction, ref textDetails.u.full);
939if (textDetails.u.full.cLines > 0)
941if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
944backspaceCaretPosition = BackspaceCaretUnitPositionFromDcpSimpleLines(dcp, position, ref textDetails.u.full);
949backspaceCaretPosition = BackspaceCaretUnitPositionFromDcpCompositeLines(dcp, position, ref textDetails.u.full);
996if (textDetails.u.full.cLines > 0)
998if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
1002PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1027PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1125Invariant.Assert(dcpStart >= textDetails.u.full.dcpFirst && dcpEnd <= textDetails.u.full.dcpLim);
1127if (textDetails.u.full.cLines > 0)
1129if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
1132GetGlyphRunsFromSimpleLines(glyphRuns, dcpStart, dcpEnd, ref textDetails.u.full);
1137GetGlyphRunsFromCompositeLines(glyphRuns, dcpStart, dcpEnd, ref textDetails.u.full);
1184return (textDetails.u.full.cLines > 0 && textDetails.u.full.dcpFirst == 0);
1202if (textDetails.u.full.cLines > 0)
1206lastChunk = (textDetails.u.full.dcpLim >= Paragraph.Cch);
1210lastChunk = (textDetails.u.full.dcpLim == Line.SyntheticCharacterLength);
1255if (textDetails.u.full.cLines > 0)
1257if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite))
1261PtsHelper.LineListSimpleFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1287PtsHelper.LineListCompositeFromTextPara(PtsContext, _paraHandle, ref textDetails.u.full, out arrayLineDesc);
1319if (textDetails.u.full.cAttachedObjects > 0)
1323PtsHelper.AttachedObjectListFromParagraph(PtsContext, _paraHandle, textDetails.u.full.cAttachedObjects, out arrayAttachedObjectDesc);