#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/graphics/al_Viewpoint.hpp>
|
| Viewport (int w=640, int h=480) |
|
| Viewport (int l, int b, int w, int h) |
|
| Viewport (const Viewport &cpy) |
|
float | aspect () const |
| Get aspect ratio (width divided by height)
|
|
void | set (int l_, int b_, int w_, int h_) |
| Set dimensions.
|
|
void | set (const Viewport &cpy) |
|
bool | isEqual (Viewport const &v) |
|
|
int | l |
|
int | b |
|
int | w |
|
int | h |
| left, bottom, width, height
|
|
A framed area on a display screen
Definition at line 48 of file al_Viewpoint.hpp.
◆ Viewport() [1/2]
al::Viewport::Viewport |
( |
int |
w = 640 , |
|
|
int |
h = 480 |
|
) |
| |
|
inline |
◆ Viewport() [2/2]
al::Viewport::Viewport |
( |
int |
l, |
|
|
int |
b, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
inline |
- Parameters
-
[in] | l | left edge coordinate |
[in] | b | bottom edge coordinate |
[in] | w | width |
[in] | h | height |
Definition at line 59 of file al_Viewpoint.hpp.
The documentation for this struct was generated from the following file: