8 references to DpiHelper
Microsoft.Maui (8)
VisualDiagnostics\AdornerModel.cs (8)
22
boundingBox =
DpiHelper
.RoundToPixel(rect, unitsPerPixel);
92
Rect rc =
DpiHelper
.RoundToPixel(rect, unitsPerPixel);
123
DpiHelper
.RoundToPixel(point.X, unitsPerPixel),
124
DpiHelper
.RoundToPixel(point.Y, unitsPerPixel));
133
double left =
DpiHelper
.RoundToPixel(rect.Left, unitsPerPixel);
134
double top =
DpiHelper
.RoundToPixel(rect.Top, unitsPerPixel);
135
double right =
DpiHelper
.RoundToPixel(rect.Right, unitsPerPixel);
136
double bottom =
DpiHelper
.RoundToPixel(rect.Bottom, unitsPerPixel);