|
|
|
|
MGL_rgnLine
Generate a line as a region.
Declaration
region_t *MGL_rgnLine(
point_t p1,
point_t p2,
const region_t *pen)
Prototype In
mgraph.h
Parameters
p1 |
First endpoint |
p2 |
Second endpoint |
pen |
Region to use as the pen when drawing the line |
Return Value
New region generated, NULL if out of memory.
Description
This function is the same as MGL_rgnLine but takes the parameters for the line as two points instead of coordinates.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com