QuercusVL Programming Manual
item) of Unit.
Returns the coordinates (Region) in the indicated position inside the coordinates
collection. The location of a loop coordinates inside a collection corresponds with the
internal loop identifier, assigned and used only by the library.
In C++, the parameter “item” must specify the position (starting from zero).
If there is no Region for the indicated position, it will return an invalid one ( see IsValid
from Region class)
3.22. Region Class
Define the coordinates of each vertex of a rectangle.
3.22.1. Properties
●
X1
C++:
int get_X1()
C:
int VL_Region_get_X1(int h)
Returns the X value (horizontal axis) of vertex 1.
In C, the parameter “h” is a handler of the region (Region).
●
Y1
C++:
int get_Y1()
C:
int VL_Region_get_Y1(int h)
Returns the Y value (vertical axis) of vertex 1.
In C, the parameter “h” is a handler of the region (Region).
●
X2
C++:
int get_X2()
C:
int VL_Region_get_X2(int h)
Returns the X value (horizontal axis) of vertex 2.
In C, the parameter “h” is a handler of the region (Region).
●
Y2
C++:
int get_Y2()
Quercus Technologies
60