LGI  1.0
Lliurex Graphic Interface
 All Classes Namespaces Files Functions Variables Macros
utils.hpp
Go to the documentation of this file.
1 #ifndef _LGI_UTILS_
2 #define _LGI_UTILS_
3 
4 #include <cairo.h>
5 #include <cstdint>
6 
7 namespace net
8 {
9  namespace lliurex
10  {
11  namespace lgi
12  {
13  namespace color
14  {
15  void RGB(cairo_t * cairo,uint8_t r,uint8_t g, uint8_t b);
16  void RGB(cairo_t * cairo,uint32_t p);
17 
18  void RGBA(cairo_t * cairo,uint8_t r,uint8_t g, uint8_t b,uint8_t a);
19  void RGBA(cairo_t * cairo,uint32_t p);
20  }
21 
22  namespace draw
23  {
24  void RoundSquare(cairo_t * cairo,double x,double y,double width,double height,double corner);
25  }
26  }
27  }
28 }
29 
30 
31 #endif
void RGBA(cairo_t *cairo, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
void RoundSquare(cairo_t *cairo, double x, double y, double width, double height, double corner)
void RGB(cairo_t *cairo, uint8_t r, uint8_t g, uint8_t b)