1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-27 12:29:33 +00:00
cc65/samples/geos/grphstr.c
ol.sc cd291d3eb4 Normalized style of fragment-type GEOS samples.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5360 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-02 11:12:38 +00:00

28 lines
392 B
C

/* 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);
}