12345678910111213141516171819202122232425262728293031323334 |
- #ifndef SVGCONVDATA_H
- #define SVGCONVDATA_H
- // types and structures used by svgconv generated output
- typedef int HGint32;
- typedef unsigned int HGuint32;
- typedef short HGint16;
- typedef unsigned short HGuint16;
- typedef signed char HGint8;
- typedef unsigned char HGuint8;
- typedef int HGbool;
- #define HG_FALSE (0 == 1)
- #define HG_TRUE (1 == 1)
- #define OVG_RGB(r,g,b) ((b<<8)|(g<<16)|(r<<24)|0xff)
- typedef struct
- {
- const float* floats;
- const HGuint8* cmds;
- HGint32 nCommands;
- HGint32 nFloats;
- HGuint32 color;
- float transform[9];
- } PathData;
- #define NUM_PATHS (sizeof(_paths)/sizeof(PathData))
- #endif // SVGCONVDATA_H
|