25 references to FromTextDpi
PresentationFramework (25)
MS\Internal\Documents\ParagraphResult.cs (1)
43
_layoutBox = _paraClient.Rect.
FromTextDpi
();
MS\Internal\LayoutDump.cs (1)
984
Rect rect = cellParaClient.Rect.
FromTextDpi
();
MS\Internal\PtsHost\CellParaClient.cs (1)
325
geometry = new RectangleGeometry(_rect.
FromTextDpi
());
MS\Internal\PtsHost\ContainerParaClient.cs (1)
196
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FigureParaClient.cs (2)
366
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
479
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\FloaterParaClient.cs (2)
372
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
485
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
634
contentViewport = viewport.
FromTextDpi
();
MS\Internal\PtsHost\ListParaClient.cs (1)
77
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\SubpageParaClient.cs (2)
299
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
411
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\TableParaClient.cs (4)
189
Visual.Clip = new RectangleGeometry(_columnRect.
FromTextDpi
());
231
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
233
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
692
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
MS\Internal\PtsHost\TextParaClient.cs (7)
316
rectangles[index] = rectTransform.
FromTextDpi
();
729
rect = rectTransform.
FromTextDpi
();
1549
lbox = rectTransform.
FromTextDpi
();
1610
lbox = rectTransform.
FromTextDpi
();
2078
Rect lineRect = new PTS.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2189
Rect elementRect = new PTS.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2356
Rect objectRect = objectParaClient.Rect.
FromTextDpi
();
MS\Internal\PtsHost\UIElementParaClient.cs (2)
138
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
149
return new RectangleGeometry(_rect.
FromTextDpi
());