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