GA_rect

Declaration

typedef struct {
    N_int32 left;
    N_int32 top;
    N_int32 right;
    N_int32 bottom;
    } GA_rect

Prototype In

snap/graphics.h

Description

Fundamental type definition for an integer rectangle. Note that SNAP Graphics defines and uses rectangles such that the bottom and right coordinates are not actually included in the pixels that define a raster coordinate rectangle. This allows for correct handling of overlapping rectangles without drawing any pixels twice.

Members

left

Left coordinate of the rectangle

top

Top coordinate of the rectangle

right

Right coordinate of the rectangle

bottom

Bottom coordinate of the rectangle

 

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com