Supported Browsers Home   
Polyline and pixel drawing Previous   
Rectangle drawing Next   
MGL Library Overview Up   

Polygon drawing

The following polygon routines come in two flavors. One takes vertex coordinates in integer format (16 or 32 bit integers depending on memory model) and the other takes vertex coordinates in 16.16 fixed-point format. The fixed-point format version is always the fastest, and in fact the integer versions simply convert all the vertices to fixed points and call the fixed-point routine.

MGL_fillPolygon

MGL_fillPolygonCnvx

MGL_fillPolygonCnvxFX

MGL_fillPolygonFX

 

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