Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$DRAW_BOX                     GPR Calls                      GPR_$DRAW_BOX


NAME
     gpr_$draw_box - draws an unfilled box.

FORMAT
     gpr_$draw_box (x1, y1, x2, y2, status)

DESCRIPTION
     This routine draws an unfilled box based on the coordinates of two oppos-
     ing corners.

     The coordinates you specify are added to the corresponding elements of
     the coordinate origin for the current bitmap.  The resultant coordinate
     positions are the top left-hand and bottom right-hand corners of the box.

     When you have clipping enabled, you can specify coordinates outside the
     bitmap limits.  With clipping disabled, specifying coordinates outside
     the bitmap limits results in an error.

   Input Parameters
     x1   The x-coordinate of the top left-hand corner of the box. This is a
          2-byte integer.

     y1   The y-coordinate of the top left-hand corner of the box. This is a
          2-byte integer.

     x2   The x-coordinate of the bottom right-hand corner of the box. This is
          a 2-byte integer.

     y2   The y-coordinate of the bottom right-hand corner of the box. This is
          a 2-byte integer.

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

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