|
| | img () |
| |
| | img (unsigned int a_w, unsigned int a_h, unsigned int a_n, T *a_buffer, bool a_owner) |
| |
| virtual | ~img () |
| |
| | img (const img &a_from) |
| |
| img & | operator= (const img &a_from) |
| |
| bool | operator== (const img &a_from) const |
| |
| bool | operator!= (const img &a_from) const |
| |
| void | transfer (img &a_from) |
| |
| void | clear () |
| |
| void | set (unsigned int a_w, unsigned int a_h, unsigned int a_n, T *a_buffer, bool a_owner) |
| |
| bool | copy (unsigned int a_w, unsigned int a_h, unsigned int a_n, T *a_buffer) |
| |
| bool | copy (const img &a_from) |
| |
| bool | allocate (unsigned int a_w, unsigned int a_h, unsigned int a_n) |
| |
| void | make_empty (bool a_delete=true) |
| |
| bool | is_empty () const |
| |
| bool | equal (const img &a_from) const |
| |
| unsigned int | width () const |
| |
| unsigned int | height () const |
| |
| unsigned int | bytes_per_pixel () const |
| |
| unsigned int | bpp () const |
| |
| const T * | buffer () const |
| |
| T * | buffer () |
| |
| bool | owner () const |
| |
| unsigned int | size () const |
| |
| bool | pixel (unsigned int a_i, unsigned a_j, std::vector< T > &a_pixel) const |
| |
| bool | expand (unsigned int a_factor, img< T > &a_res, bool a_res_force_owner=true) const |
| |
| bool | contract_raw (unsigned int a_w, unsigned int a_h, img< T > &a_res, bool a_force_res_owner=true) const |
| |
| bool | contract (unsigned int a_w, unsigned int a_h, img< T > &a_res, bool a_force_res_owner=true) const |
| |
| bool | contract (unsigned int a_factor, img< T > &a_res, bool a_force_res_owner=true) const |
| |
| template<class TTO > |
| bool | convert (img< TTO > &a_res) const |
| |
| bool | get_part (unsigned int a_sx, unsigned int a_sy, unsigned int a_sw, unsigned int a_sh, img< T > &a_res) const |
| |
| bool | to_texture (bool a_expand, const T a_pixel[], img< T > &a_res, bool a_res_force_owner=true) const |
| |
| bool | check_gl_limit (unsigned int a_GL_MAX_TEXTURE_SIZE, img< T > &a_res) const |
| |
| bool | bw2x (unsigned int a_n, img< T > &a_res) const |
| |
| bool | yswap (img< T > &a_res) const |
| |
| bool | rgba2rgb (img< T > &a_res) const |
| |
| bool | rgb2rgba (img< T > &a_res, const T &a_pixel) const |
| |
| bool | rgba2bgra () |
| |
template<class T>
class tools::img< T >
Definition at line 21 of file img.