Structures
Simple structures used in the canvas code.
typedef struct { double x, y; } GocPoint;
A simple point.
double x;
x
horizontal position of the point.
double y;
y
vertical position of the point.
typedef struct { double x, y; double width, height; } GocRect;
A simple rectangle.
lowest horizontal bound of the rectangle.
lowest vertical bound of the rectangle.
double width;
width
rectangle width.
double height;
height
rectangle height.
© manpagez.com 2000-2025 Individual documents may contain additional copyright information.