GraphicsOutput class.
More...
#include <kanzi/core.ui/graphics/graphics_output.hpp>
GraphicsOutput class.
Interface for graphics outputs. Provides width and height information for layouting.
virtual kanzi::GraphicsOutput::~GraphicsOutput |
( |
| ) |
|
|
virtualdefault |
KZ_NO_DISCARD unsigned int kanzi::GraphicsOutput::getWidth |
( |
| ) |
const |
|
inlinenoexcept |
Returns the width of layout area in the target coordinate system.
- Returns
- Layout area width in pixels.
KZ_NO_DISCARD unsigned int kanzi::GraphicsOutput::getHeight |
( |
| ) |
const |
|
inlinenoexcept |
Returns the height of layout area in the target coordinate system.
- Returns
- Layout area height in pixels.
Returns the resolution of the target coordinate system in dots per inch.
- Returns
- The target resolution vector.
void kanzi::GraphicsOutput::updateSize |
( |
unsigned int |
width, |
|
|
unsigned int |
height |
|
) |
| |
|
inlineprotected |
Updates the target layout area size.
- Parameters
-
width | The layout width in pixels. |
height | The layout height in pixels. |
void kanzi::GraphicsOutput::updateDpi |
( |
Vector2 |
dpi | ) |
|
|
inlineprotected |
Updates the target layout area resolution.
- Parameters
-
dpi | The layout resolution in dots per inch. |
The documentation for this class was generated from the following file: