ewol::compositing::Area Class Reference
Inheritance diagram for ewol::compositing::Area:
ewol::Compositing

Public Member Functions

 Area (const ivec2 &_size)
 
virtual ~Area ()
 
void draw (bool _disableDepthTest=true)
 
void clear ()
 
const vec3getPos ()
 
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::Imageget ()
 
void flush ()
 
- Public Member Functions inherited from ewol::Compositing
 Compositing ()
 
virtual ~Compositing ()
 
virtual void resetMatrix ()
 
virtual void translate (const vec3 &_vect)
 
virtual void rotate (const vec3 &_vect, float _angle)
 
virtual void scale (const vec3 &_vect)
 
virtual void setMatrix (const mat4 &_mat)
 

Additional Inherited Members

- Protected Attributes inherited from ewol::Compositing
mat4 m_matrixApply
 

Constructor & Destructor Documentation

§ Area()

ewol::compositing::Area::Area ( const ivec2 _size)

generic constructor

Parameters
[in]_sizeBasic size of the area.

§ ~Area()

virtual ewol::compositing::Area::~Area ( )
virtual

generic destructor

Member Function Documentation

§ clear()

void ewol::compositing::Area::clear ( )
virtual

clear alll the registered element in the current element

Reimplemented from ewol::Compositing.

§ draw()

void ewol::compositing::Area::draw ( bool  _disableDepthTest = true)
virtual

draw All the refistered text in the current element on openGL

Implements ewol::Compositing.

§ getPos()

const vec3& ewol::compositing::Area::getPos ( )
inline

get the current display position (sometime needed in the gui control)

Returns
the current position.

§ print()

void ewol::compositing::Area::print ( const ivec2 _size)

add a compleate of the image to display with the requested size

Parameters
[in]_sizesize of the output image

§ setPos()

void ewol::compositing::Area::setPos ( const vec3 _pos)
inline

set position for the next text writen

Parameters
[in]_posPosition of the text (in 3D)

§ setRelPos()

void ewol::compositing::Area::setRelPos ( const vec3 _pos)
inline

set relative position for the next text writen

Parameters
[in]_posofset apply of the text (in 3D)

The documentation for this class was generated from the following file:
  • framework/atria-soft/ewol/ewol/compositing/Area.hpp