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