Kanzi  3.9.5
Kanzi Engine API
kzs_display.h File Reference

Display device. More...

Functions

kzsError kzsDisplayCreate (const struct KzsDesktop *desktop, kzUint displayID, struct KzsDisplay **out_display)
 Creates a display and also the native display. More...
 
kzsError kzsDisplayCreateFromNative (struct KzsDisplayNative *displayNative, kzUint displayID, struct KzsDisplay **out_display)
 Creates a display with a previously created native display. More...
 
kzsError kzsDisplayDelete (struct KzsDisplay *display)
 Deletes a display and frees all memory allocated for it. More...
 
kzUint kzsDisplayGetCurrentHeight (const struct KzsDisplay *display)
 Returns the current height of the display in pixels. More...
 
kzUint kzsDisplayGetCurrentWidth (const struct KzsDisplay *display)
 Returns the current width of the display in pixels. More...
 
struct KzsDisplayNative * kzsDisplayGetNative (const struct KzsDisplay *display)
 Returns the native display struct. More...
 
void kzsDisplayLogProperties (const struct KzsDisplay *display)
 Outputs the properties of the display to the log. More...
 
kzsError kzsDisplayNativeCreate (const struct KzsDesktop *desktop, kzUint displayID, struct KzsDisplayNative **out_displayNative)
 Creates the platform independent portion of the display. More...
 
kzsError kzsDisplayNativeDelete (struct KzsDisplayNative *displayNative)
 Deletes the platform independent portion of the display. More...
 
kzUint kzsDisplayNativeGetCurrentHeight (const struct KzsDisplayNative *displayNative)
 Returns the current height of the display in pixels. More...
 
kzUint kzsDisplayNativeGetCurrentWidth (const struct KzsDisplayNative *displayNative)
 Returns the current width of the display in pixels. More...
 

Detailed Description

Display device.

Copyright 2008-2017 by Rightware. All rights reserved.

Function Documentation

◆ kzsDisplayCreateFromNative()

kzsError kzsDisplayCreateFromNative ( struct KzsDisplayNative *  displayNative,
kzUint  displayID,
struct KzsDisplay **  out_display 
)

Creates a display with a previously created native display.

◆ kzsDisplayCreate()

kzsError kzsDisplayCreate ( const struct KzsDesktop desktop,
kzUint  displayID,
struct KzsDisplay **  out_display 
)

Creates a display and also the native display.

◆ kzsDisplayDelete()

kzsError kzsDisplayDelete ( struct KzsDisplay display)

Deletes a display and frees all memory allocated for it.

◆ kzsDisplayGetCurrentWidth()

kzUint kzsDisplayGetCurrentWidth ( const struct KzsDisplay display)

Returns the current width of the display in pixels.

◆ kzsDisplayGetCurrentHeight()

kzUint kzsDisplayGetCurrentHeight ( const struct KzsDisplay display)

Returns the current height of the display in pixels.

◆ kzsDisplayGetNative()

struct KzsDisplayNative* kzsDisplayGetNative ( const struct KzsDisplay display)

Returns the native display struct.

◆ kzsDisplayNativeCreate()

kzsError kzsDisplayNativeCreate ( const struct KzsDesktop desktop,
kzUint  displayID,
struct KzsDisplayNative **  out_displayNative 
)

Creates the platform independent portion of the display.

◆ kzsDisplayNativeDelete()

kzsError kzsDisplayNativeDelete ( struct KzsDisplayNative *  displayNative)

Deletes the platform independent portion of the display.

◆ kzsDisplayNativeGetCurrentWidth()

kzUint kzsDisplayNativeGetCurrentWidth ( const struct KzsDisplayNative *  displayNative)

Returns the current width of the display in pixels.

◆ kzsDisplayNativeGetCurrentHeight()

kzUint kzsDisplayNativeGetCurrentHeight ( const struct KzsDisplayNative *  displayNative)

Returns the current height of the display in pixels.

◆ kzsDisplayLogProperties()

void kzsDisplayLogProperties ( const struct KzsDisplay display)

Outputs the properties of the display to the log.