Bitmapobject – CUE Design Director Script Language User Manual
Page 41

Reference Manual Design Director Script Language
www.cuesystem.com
Page 41 of 94
3.2.2.
BitmapObject
The object inherits from IndentificationObjectA object. It contains the following:
Property
Type
Description
Father IdentificationObjectA
The
father of the object. For the button itself, for instance it is the board
that it is lying on. For the window and the page (as well as for the ”free”
objects – i.e. a picture, font or a color) the value is NoObject. The
property is for reading only.
Height
uint
It is the complete height of the object. For the page the property cannot
be changed.
Name
string *50
The name of the object. The property is read only. This is default
value.
Tag
uint
Free space where anyone, while the program is running, can note
something. For the virtual world itself it has no importance. For the
design environment it is forbidden. At the beginning the value is zero
here.
Top
IdentificationObjectA Top object for an object. This means an object that has no father – that
is a page or a window. For the ”free” objects – i.e. a picture, font, color
– the value is NoObject.
Width
uint
It is the total width of the object. The property cannot be changed for
the page.
Method
Parameters
Description
PosMe2Parent Param
x
uint
Param y uint
Converts the entered coordinates x, y relative to the object to
coordinate relative to the parent object. If the father of the object is not
defined (the value of the property Father is NoObject) then the
coordinates remain the same
PosParent2Me Param
x
uint
Param y uint
Converts the entered coordinates x, y relative to the object to
coordinate relative to the parent object.
PosParent2Top
Param x uint
Param y uint
Converts the entered coordinates x, y relative to the parent object to
relative coordinate to the top object (i.e. relative to the window or the
page) If the father of the object is not defined (the value of the property
Father is NoObject) then the coordinates relative to the top object
remain the same as the coordinates relative to father of the object.
PosScreen2Top
Param x uint
Param y uint
Converts the entered coordinates x, y relative to the entire screen to
coordinate relative to the top object (i.e. relative to the window or the
page)
PosTop2Parent Param
x
uint
Param y uint
Converts the entered coordinates x, y relative to the top object (i.e.
relative to the window or the page) to coordinates relative to the parent
of the object. If the father of the object is not defined (the value of the
property Father is NoObject) then the coordinates relative to object
remain the same as the coordinate relative to the father of the object.
PosTop2Screen Param
x
uint
Param y uint
Converts the entered coordinates x, y relative to the top object (i.e.
relative to a window or page) to coordinates relative to the entire
screen.