#include <image.hpp>
template<typename T, std::math::color< T > BC = std::math::colors_base<T>::Navy>
class std::graphic::image< T, BC >
◆ basic_color
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
      
 
 
◆ color_type
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
      
 
 
◆ self_type
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
      
 
 
◆ size_type
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
      
 
 
◆ image() [1/3]
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
std::math::vector2< int > size_type
Definition: image.hpp:52
 
void create(size_type size, color_type color)
Definition: image.hpp:98
 
 
 
 
◆ image() [2/3]
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
void create(size_type size, color_type color)
Definition: image.hpp:98
 
std::prop_t< std::string > Name
Definition: image.hpp:54
 
 
 
 
◆ image() [3/3]
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
   66                 auto x = std::_min<int>( (m_vecSize.
x * m_vecSize.
y *4),
    68                 unsigned char colorBlock[4];
    69                 for (
int i = 0; i < x; i++) {
    71                     if (
str->read(colorBlock, 0, 4) == 4)
 value_type y
Definition: vector2.hpp:65
 
void create(size_type size, color_type color)
Definition: image.hpp:98
 
std::math::color< T > color_type
Definition: image.hpp:49
 
std::string str(T begin, T end)
Definition: utils.hpp:39
 
value_type x
Definition: vector2.hpp:64
 
std::prop_t< std::string > Name
Definition: image.hpp:54
 
 
 
 
◆ ~image()
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
   79                 if(m_imgData) { 
delete m_imgData; }
  
 
 
◆ create()
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
  101                for(
int i = 0; i < size.x * size.y; i++) {
 BC basic_color
Definition: image.hpp:50
 
std::math::color< T > color_type
Definition: image.hpp:49
 
 
 
 
◆ get()
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
 
◆ getpixel()
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
   87                 if(pos.x < m_vecSize.
x && pos.y < m_vecSize.
y ) {
    88                     return m_imgData[ pos.x + pos.y * m_vecSize.
x];
 value_type y
Definition: vector2.hpp:65
 
value_type x
Definition: vector2.hpp:64
 
 
 
 
◆ operator[]()
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
color_type & getpixel(size_type pos)
Definition: image.hpp:86
 
 
 
 
◆ setpixel()
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
 
   82                 if(pos.x < m_vecSize.
x && pos.y < m_vecSize.
y ) {
    83                     m_imgData[ pos.x + pos.y * m_vecSize.
x] = col;
 value_type y
Definition: vector2.hpp:65
 
value_type x
Definition: vector2.hpp:64
 
 
 
 
◆ Name
template<typename T , std::math::color< T > BC = std::math::colors_base<T>::Navy> 
      
 
 
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: