summaryrefslogtreecommitdiffstats
path: root/include/gui/2d-primitives.h
blob: 06216bb03c5614974a55515e92da25d09239fcff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __2D_PRIMITIVES__
#define __2D_PRIMITIVES__

#include <fb.h>

void gu_draw_line(struct screen *sc,
		  int x1, int y1, int x2, int y2,
		  u8 r, u8 g, u8 b, u8 a,
		  unsigned int dash);

void gu_draw_circle(struct screen *sc,
		    int x0, int y0, int radius,
		    u8 r, u8 g, u8 b, u8 a);

#endif