class: ewol::compositing::Area
Description:
Constructor and Destructor:
+ Area (const ivec2 & _size);
+ virtual ~Area ();
Synopsis:
+ void draw (bool _disableDepthTest);
+ void clear ();
+ const vec3 & getPos ();
+ 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 flush ();
Object Hierarchy:
+ewol::Compositing
+--> ewol::compositing::Area
Detail:
Area
+ Area (const ivec2 & _size);
generic constructor
Parameter [input]: | _size | Basic size of the area. |
~Area
+ virtual ~Area ();
generic destructor
draw
+ void draw (bool _disableDepthTest);
draw All the refistered text in the current element on openGL
clear
+ void clear ();
clear alll the registered element in the current element
getPos
+ const vec3 & getPos ();
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
setPos
+ void setPos (const vec2 & _pos);
setRelPos
+ void setRelPos (const vec3 & _pos);
set relative position for the next text writen
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 ();
flush
+ void flush ();