6 references to RoundToPixel
Microsoft.Maui (6)
VisualDiagnostics\AdornerModel.cs (6)
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);