FUNCTION VisuFctTextAddOffset
It adds the offset to a recatngle used for text display (in DrawText…)
InOut:
|
Scope
|
Name
|
Type
|
Comment
|
Input
|
pTextPosition
|
POINTER TO VisuStructPaintRectangle
|
Actual rectangle, already rotated if the angle is present
|
textProperties
|
VisuStructTextProperties
|
Text properties, to get the alignemets
|
iOffsetH
|
INT
|
Horizontal offset, in pixel
|
iOffsetV
|
INT
|
Vertical offset, in pixel
|
iAngle
|
INT
|
Angle by which the rectangle is rotated
|
pCenter
|
POINTER TO VisuStructPoint
|
Center of rotation
|
|