egami::ImageTemplate< T > Class Template Reference
Inheritance diagram for egami::ImageTemplate< T >:
Public Member Functions | |
ImageTemplate (const ivec2 &_size=ivec2(32, 32)) | |
void * | getTextureDataPointer () |
enum colorType | getType () const |
const ivec2 & | getSize () |
void | resize__ (const ivec2 &_size, const ivec2 &_startPos=ivec2(0, 0)) |
void | resize__ (const ivec2 &_size, const T &_color) |
void | resize (const ivec2 &_size, const etk::Color< uint8_t, 4 > &_color, const ivec2 &_startPos) |
void | resize (const ivec2 &_size, const etk::Color< float, 4 > &_color, const ivec2 &_startPos) |
void | resize (const ivec2 &_size, const etk::Color< uint16_t, 1 > &_color, const ivec2 &_startPos) |
void | resize (const ivec2 &_size, const etk::Color< uint32_t, 1 > &_color, const ivec2 &_startPos) |
void | resize (const ivec2 &_size, const etk::Color< float, 1 > &_color, const ivec2 &_startPos) |
void | resize (const ivec2 &_size, const etk::Color< double, 1 > &_color, const ivec2 &_startPos) |
void | resize (const ivec2 &_size, const ivec2 &_startPos) |
template<typename TYPE_2 > | |
void | resize (const ivec2 &_size, const TYPE_2 &_color) |
void | set (const ivec2 &_pos, const etk::Color<> &_newColor) |
void | set (const ivec2 &_pos, const etk::Color< float > &_newColor) |
void | set (const ivec2 &_pos, const etk::Color< uint16_t, 1 > &_newColor) |
void | set (const ivec2 &_pos, const etk::Color< uint32_t, 1 > &_newColor) |
void | set (const ivec2 &_pos, const etk::Color< float, 1 > &_newColor) |
void | set (const ivec2 &_pos, const etk::Color< double, 1 > &_newColor) |
const ivec2 & | getSize () const |
int32_t | getWidth () const |
int32_t | getHeight () const |
void | clearColor (const T &_fill) |
void | clear () |
etk::Color | get (const ivec2 &_pos) const |
const T & | get__ (const ivec2 &_pos) const |
void | set__ (const ivec2 &_pos, const T &_newColor) |
void | insert (const ivec2 &_pos, const ImageTemplate< T > &_input) |
void | scale (const ivec2 &_size) |
void | set (const std::vector< etk::Color< float, 4 >> &_data, const ivec2 &_size) |
void | set (const std::vector< etk::Color< uint8_t, 4 >> &_data, const ivec2 &_size) |
template<> | |
enum colorType | getType () const |
template<> | |
enum colorType | getType () const |
template<> | |
enum colorType | getType () const |
template<> | |
enum colorType | getType () const |
template<> | |
enum colorType | getType () const |
template<> | |
enum colorType | getType () const |
template<> | |
enum colorType | getType () const |
template<> | |
enum colorType | getType () const |
Member Function Documentation
§ scale()
template<typename T = etk::Color<>>
|
inline |
Scale an image in an other dimention.
- Parameters
-
[in] _size Destination size of the image. Set this function more capacity like not a multiple ratio...
The documentation for this class was generated from the following file:
- framework/atria-soft/egami/egami/ImagePrivate.hpp