JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
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

namespace  jngl
 JNGL's main namespace.
 

Functions

double getScaleFactor ()
 Size of one screen pixel in actual pixels.
 
void setScaleFactor (double)
 Overwrite the size of one screen pixel. More...
 
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.