25 references to FromTextDpi
PresentationFramework (25)
MS\Internal\Documents\ParagraphResult.cs (1)
43_layoutBox = _paraClient.Rect.FromTextDpi();
MS\Internal\LayoutDump.cs (1)
984Rect rect = cellParaClient.Rect.FromTextDpi();
MS\Internal\PtsHost\CellParaClient.cs (1)
325geometry = new RectangleGeometry(_rect.FromTextDpi());
MS\Internal\PtsHost\ContainerParaClient.cs (1)
196_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FigureParaClient.cs (2)
366Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 479PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\FloaterParaClient.cs (2)
372Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 485PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
634contentViewport = viewport.FromTextDpi();
MS\Internal\PtsHost\ListParaClient.cs (1)
77_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\SubpageParaClient.cs (2)
299Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 411PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\TableParaClient.cs (4)
189Visual.Clip = new RectangleGeometry(_columnRect.FromTextDpi()); 231Rect tableContentRect = GetTableContentRect(mbpInfo).FromTextDpi(); 233_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 692Rect tableContentRect = GetTableContentRect(mbpInfo).FromTextDpi();
MS\Internal\PtsHost\TextParaClient.cs (7)
316rectangles[index] = rectTransform.FromTextDpi(); 729rect = rectTransform.FromTextDpi(); 1549lbox = rectTransform.FromTextDpi(); 1610lbox = rectTransform.FromTextDpi(); 2078Rect lineRect = new PTS.FSRECT(lineDesc.urBBox, lineDesc.vrStart, lineDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi(); 2189Rect elementRect = new PTS.FSRECT(elemDesc.urBBox, lineDesc.vrStart, elemDesc.durBBox, lineDesc.dvrAscent + lineDesc.dvrDescent).FromTextDpi(); 2356Rect objectRect = objectParaClient.Rect.FromTextDpi();
MS\Internal\PtsHost\UIElementParaClient.cs (2)
138_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 149return new RectangleGeometry(_rect.FromTextDpi());