intent of reqPixelScale in GLCanvas
Posted by
gbburkhardt on
Apr 11, 2023; 12:32am
URL: https://forum.jogamp.org/intent-of-reqPixelScale-in-GLCanvas-tp4042430.html
What's the intent of the value 'reqPixelScale' in GLCanvas? I see that the setSurfaceScale method allows the end user to set those values. After that's been done, should the glautodrawable.getSurfaceWidth() and glautodrawable.getSurfaceHeight() return the scaled values of the logical frame size, using the current DPI scaling? I suspect that's correct, and the drawable surface should always fill the frame in which a GLCanvas is embedded.
If that's the case, my pull request
JAWTWindow:reqPixelScale before the DPI scaling factor is determined needs more work.