GsBOXF

Rectangle handler

struct GsBOXF {
        u_long attribute;
        short x, y;
        u_short w, h;
        u_char r, g, b;
};

Members

attribute Attribute bits as shown below. (Bits not defined below are reserved by the system)
28-29: Semi-transparency rate
    0: 0.5 x Back + 0.5 x Forward
    1: 1.0 x Back + 1.0 x Forward
    2: 1.0 x Back - 1.0 x Forward
    3: 1.0 x Back + 0.25 x Forward
30: Semi-transparency mode 
    0: Semi-transparency OFF
    1: Semi-transparency ON
31: Display mode
    0: Enable display
    1: Display display
x, y Display position (upper left-hand point)
w, h Size of rectangle (width, height)
r, g, b Drawing colour

Explanation

GsBOXF is a structure used to represent a rectangle drawn in a single colour.
The GsSortBoxFill() function can be used to enter a GsBOXF object in the ordering table.