GPR_$RASTER_OP_PRIM_SET GPR Calls GPR_$RASTER_OP_PRIM_SET
NAME
gpr_$raster_op_prim_set - specifies the primitive(s) that will be
affected by the next gpr_$set_raster_op call, or the primitive(s) for
which gpr_$inq_raster_op will return the current raster-op.
FORMAT
gpr_$raster_op_prim_set (prim_set, status)
DESCRIPTION
This routine specifies the primitive(s) that will be affected by the next
gpr_$set_raster_op call, or the primitive(s) for which gpr_$inq_raster_op
will return the current raster-op.
Use gpr_$raster_op_prim_set to specify which primitives will be affected
when a raster operation is set with gpr_$set_raster_op. For example, if
prim_set contains the values gpr_$rop_line and gpr_$rop_fill, only line
and fill raster operations will be affected with the next call to
gpr_$set_raster_op.
Use gpr_$raster_op_prim_set to specify the primitives for which
gpr_$inq_raster_op will return the raster-op. If the members of the set
have different raster-ops or if the set is empty, an error message is
returned.
Raster-ops for lines, fills, and blts can be different at the same time
by making successive calls to gpr_$raster_op_prim_set and
gpr_$set_raster_op.
The default prim_set contains gpr_$rop_line and gpr_$rop_blt.
Input Parameters
prim_set
The set of primitives (lines, fills, and bit-block transfers) in
gpr_$rop_prim_set_t format for which raster-ops can be set or
inquired with gpr_$set_rast_op or gpr_$inq_raster_op, respectively.
Output Parameters
status
Completion status, in status_$t format.
NOTES
gpr_$rop_line affects the following routines: gpr_$line, gpr_$polyline,
gpr_$multiline, gpr_$draw_box, gpr_$circle, and gpr_$arc_3p.
gpr_$rop_fill affects the following routines: gpr_$triangle,
gpr_$multitriangle, gpr_$trapezoid, gpr_$close_fill_pgon,
gpr_$circle_filled, and gpr_$rectangle.
gpr_$rop_blt affects the following routines: gpr_$bit_blt,
gpr_$pixel_blt, and gpr_$additive_blt.