Fontobject – CUE Design Director Script Language User Manual
Page 55

Reference Manual Design Director Script Language
www.cuesystem.com
Page 55 of 94
3.2.8.
FontObject
The object inherits from IdentificationObjectA object. It contains:
Property
Type
Description
Bold
uint
It is zero if the font is not bold, or something none zero. The property is
to read only.
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.
Italic
uint
It is zero if the font is not italic, or something none zero. The property is
to read only.
Name
string * 50
The object name. The property is for reading only.
Size
uint
The font height. The property is to read only.
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. The property is for reading only.
Underline
uint
It is zero if the font is not underlined, or something none zero. The
property is to read only.
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 parent object to
relative coordinate directly to the object. If the father of the object is not
defined (the value of the property Father is NoObject) then the
coordinates remain the same.
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.