Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$TRIANGLE                     GPR Calls                      GPR_$TRIANGLE


NAME
     gpr_$triangle - draws and fills a triangle.

FORMAT
     gpr_$triangle (vertex_1, vertex_2, vertex_3, status)

DESCRIPTION
     This routine draws and fills a triangle.

     gpr_$triangle fills in the triangle with the color/intensity value speci-
     fied with gpr_$set_fill_value or the fill pattern set by
     gpr_$set_fill_pattern.

     To retrieve the current fill value, use gpr_$inq_fill_value.

   Input Parameters
     vertex_1
          First vertex of the triangle, in gpr_$position_t format.

     vertex_2
          Second vertex of the triangle, in gpr_$position_t format.

     vertex_3
          Third vertex of the triangle, in gpr_$position_t format.

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

SEE ALSO
     gpr_$set_fill_value, gpr_$set_fill_pattern, gpr_$inq_fill_value.

NOTES
     Different decomposition techniques offer different rasterizations of
     polygons.  For details, see the Programming with Domain Graphics Primi-
     tives manual.

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