Set Current Point
The Set Current Point function updates the value of the CurrentPoint variable that is used in conjunction with opcodes that are using relative logical coordinates.
|Single-byte, binary operand||[O] (4F)||<ULX><ULY>
|Updates CurrentPoint Origin variable|
X,Y The new logical coordinate origin to assign to the CurrentPoint variable
Sets the CurrentPoint variable (also called the origin) to an absolute logical coordinate. This opcode is often used just prior to 16-bit relative-coordinate drawing primitives to define the 16-bit relative space within the 32-bit absolute space.. The CurrentPoint variable is used by drawing opcodes as an offset to convert relative logical coordinates to absolute logical coordinates.
The default CurrentPoint is set at the logical coordinate space origin (0,0).
Implementation in WHIP! Versions
|Set Current Point||-||-||