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)
987Rect rect = cellParaClient.Rect.FromTextDpi();
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (1)
352geometry = 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)
417Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 530PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
421Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 534PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
655contentViewport = 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)
342Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 454PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
209Visual.Clip = new RectangleGeometry(_columnRect.FromTextDpi()); 251Rect tableContentRect = GetTableContentRect(mbpInfo).FromTextDpi(); 253_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 747Rect tableContentRect = GetTableContentRect(mbpInfo).FromTextDpi();
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (7)
357rectangles[index] = rectTransform.FromTextDpi(); 829rect = rectTransform.FromTextDpi(); 1738lbox = rectTransform.FromTextDpi(); 1806lbox = rectTransform.FromTextDpi(); 2292Rect lineRect = new PTS.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi(); 2403Rect elementRect = new PTS.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi(); 2574Rect objectRect = objectParaClient.Rect.FromTextDpi();
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (2)
145_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 156return new RectangleGeometry(_rect.FromTextDpi());