Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_RASTER_OPS               GPR Calls                GPR_$INQ_RASTER_OPS


NAME
     gpr_$inq_raster_ops - returns the raster operation for the primitives.

FORMAT
     gpr_$inq_raster_ops (raster_op, status)

DESCRIPTION
     This routine returns the raster operation for the primitives (lines,
     fills, and bit-block transfers) specified with gpr_$raster_op_prim_set.

   Output Parameters
     raster_op
          Raster operation codes, in gpr_$raster_op_array_t format.  This is
          an eight-element array of 2-byte integers.  Each element corresponds
          to the raster operation for a single plane of the bitmap.  Possible
          raster op values are zero through fifteen.

     status
          Completion status, in status_$t format.

NOTES
     To set a new  raster  operation  for  the  primtives  (lines,  fills  and
     bit_block   transfers)   specified   with   gpr_$raster_op_prim_set,  use
     gpr_$raster_op.    If   the   set   of   primitives   established    with
     gpr_$raster_op_prim_set  have  different raster-ops, this call returns an
     error.

     If the set of  primitives  established  with  gpr_$raster_op_prim_set  is
     empty, this call returns an error.

     Use gpr_$inq_raster_op_prim_set to return the  set  of  primitives  esta-
     blished with gpr_$raster_op_prim_set.

     When  the  values   in   the   set   of   primitives   established   with
     gpr_$raster_op_prim_set      have      different     raster-ops,     call
     gpr_$raster_op_prim_set to establish the set with one  value,  then  call
     gpr_$inq_raster_op.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026