Added more sample programs from Maciek

git-svn-id: svn://svn.cc65.org/cc65/trunk@155 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-07-16 17:36:41 +00:00
parent f20e32ec65
commit c8215a37df
5 changed files with 146 additions and 0 deletions

26
samples/geos/grphstr.c Normal file
View File

@@ -0,0 +1,26 @@
/* Note:
* This is just a sample piece of code that shows how to use some structs -
* it may not even run.
*/
#include <geos.h>
static const graphicStr myString = {
MOVEPENTO (0,0),
LINETO(100,100),
RECTANGLETO(50,50),
NEWPATTERN(3),
FRAME_RECTO(50,50),
PEN_X_DELTA(10),
PEN_Y_DELTA(10),
PEN_XY_DELTA(10,10),
GSTR_END
};
int main (void)
{
GraphicsString(&myString);
}