25 references to FromTextDpi
PresentationFramework (25)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (1)
49
_layoutBox = _paraClient.Rect.
FromTextDpi
();
src\Framework\MS\Internal\LayoutDump.cs (1)
987
Rect rect = cellParaClient.Rect.
FromTextDpi
();
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (1)
352
geometry = new RectangleGeometry(_rect.
FromTextDpi
());
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (1)
229
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (2)
417
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
530
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
421
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
534
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
655
contentViewport = viewport.
FromTextDpi
();
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (1)
87
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (2)
342
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
454
PtsHelper.ClipChildrenToRect(_visual, clipRect.
FromTextDpi
());
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
209
Visual.Clip = new RectangleGeometry(_columnRect.
FromTextDpi
());
251
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
253
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
747
Rect tableContentRect = GetTableContentRect(mbpInfo).
FromTextDpi
();
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (7)
357
rectangles[index] = rectTransform.
FromTextDpi
();
829
rect = rectTransform.
FromTextDpi
();
1738
lbox = rectTransform.
FromTextDpi
();
1806
lbox = rectTransform.
FromTextDpi
();
2292
Rect lineRect = new PTS.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2403
Rect elementRect = new PTS.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).
FromTextDpi
();
2574
Rect objectRect = objectParaClient.Rect.
FromTextDpi
();
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (2)
145
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.
FromTextDpi
(), IsFirstChunk, IsLastChunk);
156
return new RectangleGeometry(_rect.
FromTextDpi
());