Class: ewol::Area
Synopsis:
+ Area (const ivec2 & _size);
+ ~Area (void);
+ void draw (bool _disableDepthTest);
+ void clear (void);
+ const vec3 & getPos (void);
+ void setPos (const vec3 & _pos);
+ void setPos (const vec2 & _pos);
+ void setRelPos (const vec3 & _pos);
+ void setRelPos (const vec2 & _pos);
+ void print (const ivec2 & _size);
+ egami::Image & get (void);
+ void flush (void);
- void loadProgram (void);
Object Hierarchy:
ewol::Compositing +--> ewol::Area
Detail:
ewol::Area ()
Area(const ivec2 & _size);
generic constructor
Parameter [input]: _size Basic size of the area.
ewol::~Area ()
~Area(void);
generic destructor
draw ()
void draw(bool _disableDepthTest);
draw All the refistered text in the current element on openGL
clear ()
void clear(void);
clear alll the registered element in the current element
getPos ()
const vec3 & getPos(void);
get the current display position (sometime needed in the gui control)
Return: the current position.
setPos ()
void setPos(const vec3 & _pos);
set position for the next text writen
Parameter [input]: _pos Position of the text (in 3D)
setPos ()
void setPos(const vec2 & _pos);
setRelPos ()
void setRelPos(const vec3 & _pos);
set relative position for the next text writen
Parameter [input]: _pos ofset apply of the text (in 3D)
setRelPos ()
void setRelPos(const vec2 & _pos);
print ()
void print(const ivec2 & _size);
add a compleate of the image to display with the requested size
Parameter [input]: _size size of the output image
get ()
egami::Image & get(void);
flush ()
void flush(void);
loadProgram ()
void loadProgram(void);
load the openGL program and get all the ID needed
ewol::Area ()
Area(const ivec2 & _size);
generic constructor
-
Parameter [input]: _size Basic size of the area.
ewol::~Area ()
~Area(void);
generic destructor
draw ()
void draw(bool _disableDepthTest);
draw All the refistered text in the current element on openGL
clear ()
void clear(void);
clear alll the registered element in the current element
getPos ()
const vec3 & getPos(void);
get the current display position (sometime needed in the gui control)
-
Return: the current position.
setPos ()
void setPos(const vec3 & _pos);
set position for the next text writen
-
Parameter [input]: _pos Position of the text (in 3D)
setPos ()
void setPos(const vec2 & _pos);
setRelPos ()
void setRelPos(const vec3 & _pos);
set relative position for the next text writen
-
Parameter [input]: _pos ofset apply of the text (in 3D)
setRelPos ()
void setRelPos(const vec2 & _pos);
print ()
void print(const ivec2 & _size);
add a compleate of the image to display with the requested size
-
Parameter [input]: _size size of the output image
get ()
egami::Image & get(void);
flush ()
void flush(void);
loadProgram ()
void loadProgram(void);
load the openGL program and get all the ID needed