GPR_$SET_COORDINATE_ORIGIN GPR Calls GPR_$SET_COORDINATE_ORIGIN
NAME
gpr_$set_coordinate_origin - establishes x- and y-offsets used for move,
draw, text, fill, and BLT operations.
FORMAT
gpr_$set_coordinate_origin (origin, status)
DESCRIPTION
This routine establishes x- and y-offsets to add to all x- and y-
coordinates used for move, draw, text, fill, and BLT operations on the
current bitmap.
Input Parameters
origin
The new coordinate origin for the bitmap, in gpr_$position_t format.
This data type is 4 bytes long.
Output Parameters
status
Completion status, in status_$t format.
SEE ALSO
gpr_$inq_coordinate_origin.
NOTES
The default coordinate origin is (0,0).
In direct mode, the clip window and coordinate origin are relative to the
the upper left-hand corner of the window.
You cannot use gpr_$set_coordinate_origin on a bitmap corresponding to a
Display Manager frame.