]> git.sur5r.net Git - cc65/blob - samples/geos/grphstr.c
Added SegDef struct and a few functions to the segdefs module
[cc65] / samples / geos / grphstr.c
1 /* Note:
2  * This is just a sample piece of code that shows how to use some structs -
3  * it may not even run.
4  */
5
6
7 #include <geos.h>
8
9 static const graphicStr myString = {
10         MOVEPENTO (0,0),
11         LINETO(100,100),
12         RECTANGLETO(50,50),
13         NEWPATTERN(3),
14         FRAME_RECTO(50,50),
15         PEN_X_DELTA(10),
16         PEN_Y_DELTA(10),
17         PEN_XY_DELTA(10,10),
18         GSTR_END
19         };
20
21 int main (void)
22 {
23
24     GraphicsString(&myString);
25 }
26