-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Error edited this page Mar 14, 2015
·
11 revisions
This lib use in my demo “n.29”:
http://www.youtube.com/watch?v=zL_2NWtxLQE&feature=youtu.be
http://www.pouet.net/prod.php?which=64031
#include "Graphics.h"
#define clBlack 0
#define clWhite 1
#define clInvert 2
main(void)
{
PBitMap BitMap;
BitMap = esCreateBitMap(100, 100, pf1bit);
esClear(BitMap, clWhite);// fill canvas
esDrawRect(BitMap, 0, 0, 99, 99, clBlack);
esFillEllipse(BitMap, 0, 0, 99, 99, clBlack);
esFillRect(BitMap, 0, 0, 99, 49, clInvert);
YourSystemDrawToScreenFunction(BitMap);// <- Write you!
esFreeBitMap(BitMap);
return 0;
}
ESLGL – this is low-end graphics library, optimized to 4-bit and 1-bit per pixel graphics. Library written on “C”, but imitate PLO.