typedef union RGBi RGBi;
enum
{
Gunsupported = -10,
Gfailed = -1,
};
enum
{
Msquare = 0,
Mdisc,
Mdiamond,
Mplus,
Mcross,
};
union RGBi
{
struct{
uchar b, g, r;
};
uchar buf[3];
};
int gfxinit(void);
void gfxterm(void);
void resize(int w, int h);
int marker(Image *dst, Point pt, RGBi c, int size, int mark, Rune *s);
|