Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
ewol::resource::ImageDF Class Reference
Inheritance diagram for ewol::resource::ImageDF:
Public Member Functions | |
const vec2 & | getRealSize () |
Public Member Functions inherited from ewol::resource::Texture | |
DECLARE_RESOURCE_FACTORY (Texture) | |
void | setImageSize (ivec2 newSize) |
egami::Image & | get () |
void | flush () |
bool | updateContext () |
void | removeContext () |
void | removeContextToLate () |
const ivec2 & | getOpenGlSize () const |
uint32_t | getRendererId () const |
Static Public Member Functions | |
static ememory::SharedPtr< ewol::resource::ImageDF > | create (const std::string &_filename, ivec2 _size=ivec2(-1,-1)) |
Protected Member Functions | |
void | init () |
void | init (std::string _genName, const std::string &_fileName, const ivec2 &_size) |
void | generateDistanceField (const egami::ImageMono &_input, egami::Image &_output) |
Protected Member Functions inherited from ewol::resource::Texture | |
void | init (const std::string &_filename) |
void | init () |
Protected Attributes | |
vec2 | m_realImageSize |
Protected Attributes inherited from ewol::resource::Texture | |
uint32_t | m_texId |
egami::Image | m_data |
vec2 | m_endPointSize |
bool | m_loaded |
Member Function Documentation
§ create()
|
static |
keep the resource pointer.
- Note
- Never free this pointer by your own...
- Parameters
-
[in] _filename Name of the image file. [in] _requested size of the image (usefull when loading .svg to automatic rescale)
- Returns
- pointer on the resource or nullptr if an error occured.
§ generateDistanceField()
|
protected |
Generate distance field of this Image input.
- Parameters
-
[in] _input Input image to change in distance field mode. [out] _output New image generate with this image _input.
The documentation for this class was generated from the following file:
- framework/atria-soft/ewol/ewol/resource/ImageDF.hpp