Kanzi 3.9.10
KzuViewportCoordinateType Enum Reference

Enumeration for viewport coordinate unit type (exact pixel coordinates / percentages from window) More...

Inheritance diagram for KzuViewportCoordinateType:
[legend]

Public Member Functions

 KzuViewportCoordinateType (int value)
 Constructs a KzuViewportCoordinateType of an integer value.
 
 KzuViewportCoordinateType (KzuViewportCoordinateType enum_)
 Constructs a copy of a KzuViewportCoordinateType object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static KzuViewportCoordinateType swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static KzuViewportCoordinateType toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 KZU_VIEWPORT_COORDINATE_ABSOLUTE =(0)
 Absolute viewport coordinates, i.e.
 
 KZU_VIEWPORT_COORDINATE_RELATIVE =(1)
 Relative viewport coordinates, i.e.
 

Detailed Description

Enumeration for viewport coordinate unit type (exact pixel coordinates / percentages from window)

Constructor & Destructor Documentation

◆ KzuViewportCoordinateType() [1/2]

Constructs a KzuViewportCoordinateType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ KzuViewportCoordinateType() [2/2]

Constructs a copy of a KzuViewportCoordinateType object.

Parameters
enum_KzuViewportCoordinateType to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static KzuViewportCoordinateType swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static KzuViewportCoordinateType toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

◆ KZU_VIEWPORT_COORDINATE_ABSOLUTE

KZU_VIEWPORT_COORDINATE_ABSOLUTE =(0)

Absolute viewport coordinates, i.e.

pixel values.

◆ KZU_VIEWPORT_COORDINATE_RELATIVE

KZU_VIEWPORT_COORDINATE_RELATIVE =(1)

Relative viewport coordinates, i.e.

percentages of render target width & height.