14 references to PanelScale
aspire-tray (14)
TrayApplication.NativeSmoke.cs (3)
126
PanelScale
, _panelWindow, (rect.Left, rect.Top, rect.Right - rect.Left, rect.Bottom - rect.Top));
231
var x = (int)Math.Round(target.HitBounds.CenterX *
PanelScale
);
232
var y = (int)Math.Round(target.HitBounds.CenterY *
PanelScale
);
TrayApplication.Panel.cs (8)
180
var scale =
PanelScale
;
315
if (_panelPaletteDirty || Math.Abs(rect.Bottom - rect.Top - Math.Round(_panel!.Scene.Height *
PanelScale
)) > 0.5)
470
var scale = (float)
PanelScale
;
686
rect.Top = (int)Math.Round(text.Baseline *
PanelScale
) - metrics.Ascent;
793
var height = -(int)Math.Round(PanelFonts.Size(role) *
PanelScale
);
825
var scale =
PanelScale
;
852
var x = unchecked((short)((nuint)lParam & 0xFFFF)) /
PanelScale
;
853
var y = unchecked((short)(((nuint)lParam >> 16) & 0xFFFF)) /
PanelScale
;
TrayApplication.PanelAutomation.cs (3)
174
var x = (screenX - window.Left) /
PanelScale
;
175
var y = (screenY - window.Top) /
PanelScale
;
190
var scale =
PanelScale
;