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


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)


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


get ()

egami::Image & get(void);



flush ()

void flush(void);



loadProgram ()

void loadProgram(void);

load the openGL program and get all the ID needed