Plan 9 from Bell Labs’s /usr/web/sources/contrib/pdt/sky/include/gfx.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


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);

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].