home *** CD-ROM | disk | FTP | other *** search
- // Example: 030 from Library Reference
- #include "..\3D-Ware\dddware.h"
- short Poly[]={6, 2,4,75,50,76,50,100,100,50,100}; // The style is style 6, palette color 2, and 4 pairs of
- // points.
- short col=0, x=0 ,y=0;
- short main(void)
- {
- dddInitAll();
- while (!dddkeycode)
- {
- dddCls();
- dddDrawSpecialPoly(Poly); // Draw the patterned polygon.
- dddScreenSwap();
- }
- dddRestoreAll();
- return 0;
- }
-