VisuFctTextAddOffset (FUN)
FUNCTION VisuFctTextAddOffset
It adds the offset to a recatngle used for text display (in DrawText…)
- InOut:
Scope
Name
Type
Comment
Input
pTextPositionPOINTER TO VisuStructPaintRectangle
Actual rectangle, already rotated if the angle is present
textPropertiesText properties, to get the alignemets
iOffsetHINTHorizontal offset, in pixel
iOffsetVINTVertical offset, in pixel
iAngleINTAngle by which the rectangle is rotated
pCenterPOINTER TO VisuStructPoint
Center of rotation