Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_FILL_VALUE               GPR Calls                GPR_$INQ_FILL_VALUE


NAME
     gpr_$inq_fill_value - returns the color used to fill circles, rectangles,
     triangles, and trapezoids.

FORMAT
     gpr_$inq_fill_value (color, status)

DESCRIPTION
     This routine returns the color used to fill circles, rectangles, trian-
     gles, and trapezoids.  To set a new fill value, use gpr_$set_fill_value.

   Output Parameters
     color
          The current fill color, in gpr_$pixel_value_t format.  This is a 4-
          byte integer.  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.

     status
        Completion status, in status_$t format.

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