openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
ecanvas.h
Go to the documentation of this file.
1 #ifndef __lib_gui_ecanvas_h
2 #define __lib_gui_ecanvas_h
3 
4 #include <lib/gui/epixmap.h>
5 
6 class eCanvas: public ePixmap
7 {
8 public:
9  eCanvas(eWidget *parent);
10 
11  void setSize(eSize size);
12 
13  void clear(gRGB color);
14  void fillRect(eRect rect, gRGB color);
15  void drawLine(int x0, int y0, int x1, int y1, gRGB color);
16  void writeText(eRect where, gRGB fg, gRGB bg, gFont *font, const char *string, int flags);
17  void drawRotatedLine(int ox, int oy, int x0, int y0, int x1, int y1, float angle, bool cw, gRGB color);
18 };
19 
20 #endif
Definition: ecanvas.h:7
void drawLine(int x0, int y0, int x1, int y1, gRGB color)
Definition: ecanvas.cpp:44
void clear(gRGB color)
Definition: ecanvas.cpp:15
void fillRect(eRect rect, gRGB color)
Definition: ecanvas.cpp:29
void drawRotatedLine(int ox, int oy, int x0, int y0, int x1, int y1, float angle, bool cw, gRGB color)
Definition: ecanvas.cpp:73
void writeText(eRect where, gRGB fg, gRGB bg, gFont *font, const char *string, int flags)
Definition: ecanvas.cpp:59
void setSize(eSize size)
Definition: ecanvas.cpp:8
eCanvas(eWidget *parent)
Definition: ecanvas.cpp:4
Definition: epixmap.h:7
Definition: erect.h:11
Definition: esize.h:8
Definition: ewidget.h:14
eSize size() const
Definition: ewidget.h:24
A softreference to a font.
Definition: gfont.h:14
fontRenderClass * font
list where
Definition: newplugin.py:126
Definition: picload.cpp:163
Definition: gpixmap.h:14