| Home
| Previous
| Next
| Up

MGL_defRect

Create a new rectangle.

Declaration

rect_t MGLAPI MGL_defRect(
int left,
int top,
int right,
int bottom)

Prototype In

mgraph.h

Parameters

left | Left coordinate of rectangle
top | Top coordinate of rectangle
right | Right coordinate of rectangle
bottom | Bottom coordinate of rectangle

Return Value

Newly created rectangle returned by value.

Description

Creates a new rectangle given a set of coordinates.

See Also

MGL_defRectPt

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