|
Kanzi Graphics Engine
|
Screen container canvas. More...
#include <system/debug/kzs_error.h>#include <system/display/kzs_window.h>#include <system/kzs_header.h>Functions | |
| kzsError | kzuCanvasCreate (const struct KzcMemoryManager *memoryManager, struct KzuScreen *screen, struct KzuCanvas **out_canvas) |
| Create canvas object. More... | |
| kzsError | kzuCanvasDelete (struct KzuCanvas *canvas) |
| Delete canvas. More... | |
| void | kzuCanvasSetSize (struct KzuCanvas *canvas, kzUint width, kzUint height) |
| Sets canvas size. More... | |
| kzUint | kzuCanvasGetWidth (const struct KzuCanvas *canvas) |
| Gets canvas width. More... | |
| kzUint | kzuCanvasGetHeight (const struct KzuCanvas *canvas) |
| Gets canvas height. More... | |
| void | kzuCanvasSetOrientationAngle (struct KzuCanvas *canvas, enum KzsWindowOrientationAngle angle) |
| Sets canvas orientation angle. More... | |
| enum KzsWindowOrientationAngle | kzuCanvasGetOrientationAngle (const struct KzuCanvas *canvas) |
| Gets canvas orientation angle. More... | |
| kzsError | kzuCanvasSetScreenOrientation (struct KzuCanvas *canvas, enum KzsWindowOrientation orientation) |
| Sets the orientation of the screen. More... | |
| kzsError | kzuCanvasSetScreen (struct KzuCanvas *canvas, struct KzuScreen *screen) |
| Sets screen of canvas. More... | |
| struct KzuScreen * | kzuCanvasGetScreen (const struct KzuCanvas *canvas) |
| Gets screen of canvas. More... | |
| void | kzuCanvasInvalidateScreenLayout (struct KzuCanvas *canvas) |
| Invalidates the layout of the attached screen. More... | |
Screen container canvas.
Copyright 2008-2019 by Rightware. All rights reserved.
| kzsError kzuCanvasCreate | ( | const struct KzcMemoryManager * | memoryManager, |
| struct KzuScreen * | screen, | ||
| struct KzuCanvas ** | out_canvas | ||
| ) |
Create canvas object.
| void kzuCanvasSetOrientationAngle | ( | struct KzuCanvas * | canvas, |
| enum KzsWindowOrientationAngle | angle | ||
| ) |
Sets canvas orientation angle.
| enum KzsWindowOrientationAngle kzuCanvasGetOrientationAngle | ( | const struct KzuCanvas * | canvas) |
Gets canvas orientation angle.
| kzsError kzuCanvasSetScreenOrientation | ( | struct KzuCanvas * | canvas, |
| enum KzsWindowOrientation | orientation | ||
| ) |
Sets the orientation of the screen.
Sets screen of canvas.