25 references to FromTextDpi
PresentationFramework (25)
MS\Internal\Documents\ParagraphResult.cs (1)
40
_layoutBox = _paraClient.Rect.
FromTextDpi
();
MS\Internal\LayoutDump.cs (1)
981
Rect rect = cellParaClient.Rect.
FromTextDpi
();
MS\Internal\PtsHost\CellParaClient.cs (1)
320
geometry = new RectangleGeometry(_rect.
FromTextDpi
());
MS\Internal\PtsHost\ContainerParaClient.cs (1)
191
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FigureParaClient.cs (2)
360
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
473
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\FloaterParaClient.cs (2)
367
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
480
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
626
contentViewport = viewport.
FromTextDpi
();
MS\Internal\PtsHost\ListParaClient.cs (1)
73
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\SubpageParaClient.cs (2)
294
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
406
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\TableParaClient.cs (4)
183
Visual.Clip = new RectangleGeometry(_columnRect.
FromTextDpi
());
225
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
227
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
686
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
MS\Internal\PtsHost\TextParaClient.cs (7)
310
rectangles[index] = rectTransform.
FromTextDpi
();
723
rect = rectTransform.
FromTextDpi
();
1543
lbox = rectTransform.
FromTextDpi
();
1604
lbox = rectTransform.
FromTextDpi
();
2072
Rect lineRect = new PTS.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2183
Rect elementRect = new PTS.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2350
Rect objectRect = objectParaClient.Rect.
FromTextDpi
();
MS\Internal\PtsHost\UIElementParaClient.cs (2)
134
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
145
return new RectangleGeometry(_rect.
FromTextDpi
());