25 references to FromTextDpi
PresentationFramework (25)
MS\Internal\Documents\ParagraphResult.cs (1)
39
_layoutBox = _paraClient.Rect.
FromTextDpi
();
MS\Internal\LayoutDump.cs (1)
982
Rect rect = cellParaClient.Rect.
FromTextDpi
();
MS\Internal\PtsHost\CellParaClient.cs (1)
319
geometry = new RectangleGeometry(_rect.
FromTextDpi
());
MS\Internal\PtsHost\ContainerParaClient.cs (1)
190
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FigureParaClient.cs (2)
357
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
470
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\FloaterParaClient.cs (2)
364
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
477
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
625
contentViewport = viewport.
FromTextDpi
();
MS\Internal\PtsHost\ListParaClient.cs (1)
72
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\SubpageParaClient.cs (2)
293
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
405
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
MS\Internal\PtsHost\TableParaClient.cs (4)
182
Visual.Clip = new RectangleGeometry(_columnRect.
FromTextDpi
());
224
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
226
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
685
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
MS\Internal\PtsHost\TextParaClient.cs (7)
309
rectangles[index] = rectTransform.
FromTextDpi
();
722
rect = rectTransform.
FromTextDpi
();
1542
lbox = rectTransform.
FromTextDpi
();
1603
lbox = rectTransform.
FromTextDpi
();
2071
Rect lineRect = new PTS.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2182
Rect elementRect = new PTS.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2349
Rect objectRect = objectParaClient.Rect.
FromTextDpi
();
MS\Internal\PtsHost\UIElementParaClient.cs (2)
133
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
144
return new RectangleGeometry(_rect.
FromTextDpi
());