JNGL
Namespaces | Functions
screen.hpp File Reference
#include "Vec2.hpp"
Include dependency graph for screen.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jngl
 JNGL's main namespace.
 

Functions

double getScaleFactor ()
 Size of one screen pixel in actual pixels.
 
void setScaleFactor (double)
 
double getScreenWidth ()
 jngl::getScreenSize().x
 
double getScreenHeight ()
 jngl::getScreenSize().y
 
Vec2 getScreenSize ()
 Returns the size of the useable draw area (excluding letter-boxing) in screen pixels.