Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_set_fill_value(A) — Apollo Domain/OS SR10.3.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gpr_$inq_fill_value

GPR_$SET_FILL_VALUE               GPR Calls                GPR_$SET_FILL_VALUE


NAME
     gpr_$set_fill_value - specifies the fill color for circles, rectangles,
     triangles, and trapezoids.

FORMAT
     gpr_$set_fill_value (index, status)

DESCRIPTION
     This routine specifies the fill color for circles, rectangles, triangles,
     and trapezoids.  For monochromatic displays, only the low-order bit of
     the fill value is considered because monochromatic displays have only one
     plane.

     For color displays in 4-bit pixel format, only the four lowest-order bits
     of the fill value are considered because these displays have four planes.

   Input Parameters
     color
          The color to be used in fill operations, in gpr_$pixel_value_t for-
          mat.  This is a 4-byte integer. The default fill value is 1. Valid
          values are:

             ⊕  0 - 1 For monochromatic displays.

             ⊕  0 - 15 An index into a 4-plane color table.

             ⊕  0 - 255 An index into an 8-plane color table.

             ⊕  0 - 4096 An index into a 12-plane true-color table.

             ⊕  0 - 16,777,215 A color value for a 24-plane true-color pro-
                gram.

   Output Parameters
     status
          Completion status, in status_$t format.

SEE ALSO
     gpr_$inq_fill_value.

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