You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Graphics have to be scaled by the device's pixel ratio¹ while rendering for native resolution. The image then has to be scaled back down when showing in the Swing window to be sized properly².
Graphics have to be scaled by the device's pixel ratio¹ while rendering for native resolution. The image then has to be scaled back down when showing in the Swing window to be sized properly².
Code for getting the DPR¹:
Code for Swing rendering² (example from O1Library/gui/viewimpl/ViewComponent):
The text was updated successfully, but these errors were encountered: