Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_trapezoid(A) — Apollo Domain/OS SR10.4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gpr_$set_fill_pattern

gpr_$set_fill_value

gpr_$inq_fill_value

gpr_$polyline

GPR_$TRAPEZOID                    GPR Calls                     GPR_$TRAPEZOID


NAME
     gpr_$trapezoid - draws and fills a trapezoid.

FORMAT
     gpr_$trapezoid (trapezoid, status)

DESCRIPTION
     This routine draws and fills a trapezoid.

     gpr_$trapezoid fills in the trapezoid with the color/intensity value
     specified with gpr_$set_fill_value or the pattern set by
     gpr_$set_fill_pattern.  To retrieve the current fill value, use
     gpr_$inq_fill_value.

     The GPR routines define a trapezoid as a quadrilateral with two horizon-
     tally parallel sides.

   Input Parameters
     trapezoid
          Trapezoid in gpr_$trap_t format.

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

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

NOTES
     To draw an unfilled trapezoid use gpr_$polyline.

     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