Set Current Point
Purpose
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.
Syntax
Opcode format | Opcode
[ASCII] (Hex) |
Operand Format | Comments |
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
Details
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.
Default
The default CurrentPoint is set at the logical coordinate space origin (0,0).
Implementation in WHIP! Versions
Toolkit Function |
TBD |
Partial |
Full |
Revised in |
Set Current Point | - | - |
1.03 |
- |