diff options
Diffstat (limited to 'render.c')
-rw-r--r-- | render.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -120,6 +120,14 @@ Colour make_aliceblue(void) { return make_colour(0xf0f8ff, 0xff); } +Colour make_white(void) { + return make_colour(0xffffff, 0xff); +} + +Colour make_black(void) { + return make_colour(0x000000, 0xff); +} + Colour blend(Colour dst, Colour src) { int ima; ima = 0xff - src.a; |