File: |
PolyStuff.lib |
Version: |
1.1 |
Author: |
Marcus Johansson and John Master |
A library for transforming and drawing polygons created with Poly Editor.
Name |
Parameters |
Brief description |
|
procedure |
Clear transformation matrix. |
||
procedure |
dx#, dy# |
Translate. |
|
procedure |
sx#, sy# |
Scale. |
|
procedure |
a# |
Rotate. |
|
procedure |
Push transformation. |
||
procedure |
Pop transformation. |
||
function |
filename$ |
Load polygon created with Polygon Editor. |
|
procedure |
&p#[][] |
Transform polygon with the current transformation. |
|
procedure |
&p#[][], filled |
Draw polygon using current transformation. |
procedure ClearTransformation ( )Clear transformation matrix. [ Back ] |
procedure Translate ( dx#, dy# )Translate.
[ Back ] |
procedure Scale ( sx#, sy# )Scale.
[ Back ] |
procedure Rotate ( a# )Rotate.
[ Back ] |
procedure PushTransformation ( )Push transformation. [ Back ] |
procedure PopTransformation ( )Pop transformation. [ Back ] |
function LoadPolygon#[][] ( filename$ )Load polygon created with Polygon Editor.
Return value [ Back ] |
procedure TransformPolygon ( &p#[][] )Transform polygon with the current transformation.
[ Back ] |
procedure DrawPolygon ( &p#[][], filled )Draw polygon using current transformation.
[ Back ] |
Generated with NLDoc 20140630.