|
| Viewport (const Rect &rect, const Vector &scale) |
|
Rect | get_rect () const |
| The size of the viewport in window coordinates.
|
|
Vector | get_scale () const |
| The amount by which the content of the viewport is scaled.
|
|
int | get_screen_width () const |
| The width of the resulting logical screen.
|
|
int | get_screen_height () const |
| The height of the resulting logical screen.
|
|
Size | get_screen_size () const |
| The size of the resulting logical screen.
|
|
Vector | to_logical (int physical_x, int physical_y) const |
| Converts window coordinates into logical screen coordinates.
|
|
bool | needs_clear_screen () const |
| True if the logical screen doens't cover the whole window.
|
|
The documentation for this class was generated from the following files: