Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Need width and height in pixels for an OpenGlView (GL.Viewport)

$
0
0

Hello,
I have an OpenGlView in an absolute layout. I need dimensions in pixels for GL.Viewport function else display is not correct.

The absolute layout coordinates are not in pixels but in a kind of standard resolution depending on os.

Where can I get screen resolution to compute height and width in pixels ?

Thank you


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>