- added libdrawtext
[demo_prior] / src / imtk / draw.h
1 #ifndef DRAW_H_
2 #define DRAW_H_
3
4 #include "opengl.h"
5 #include "imtk.h"
6
7 enum {
8         FRAME_OUTSET,
9         FRAME_INSET
10 };
11
12 void imtk_draw_rect(int x, int y, int w, int h, float *ctop, float *cbot);
13 void imtk_draw_frame(int x, int y, int w, int h, int style);
14 void imtk_draw_disc(int x, int y, float rad, int subdiv, float *ctop, float *cbot);
15 void imtk_draw_disc_frame(int x, int y, float inner, float outer, int subdiv, int style);
16 void imtk_draw_string(int x, int y, const char *str);
17 int imtk_string_size(const char *str);
18
19 #endif  /* DRAW_H_ */