Lumitronix_Iflex_Pro_Workshop
Library to interact with the iFlexPro
NeoBufferProgmemMethod< T_COLOR_FEATURE > Class Template Reference

#include <NeoBufferProgmemMethod.h>

Public Types

typedef T_COLOR_FEATURE::ColorObject ColorObject
 
typedef T_COLOR_FEATURE ColorFeature
 

Public Member Functions

 NeoBufferProgmemMethod (uint16_t width, uint16_t height, PGM_VOID_P pixels)
 
 operator NeoBufferContext< T_COLOR_FEATURE > ()
 
const uint8_t * Pixels () const
 
size_t PixelsSize () const
 
size_t PixelSize () const
 
uint16_t PixelCount () const
 
uint16_t Width () const
 
uint16_t Height () const
 
void SetPixelColor (uint16_t indexPixel, typename T_COLOR_FEATURE::ColorObject color)
 
void SetPixelColor (uint16_t x, uint16_t y, typename T_COLOR_FEATURE::ColorObject color)
 
T_COLOR_FEATURE::ColorObject GetPixelColor (uint16_t indexPixel) const
 
T_COLOR_FEATURE::ColorObject GetPixelColor (int16_t x, int16_t y) const
 
void ClearTo (typename T_COLOR_FEATURE::ColorObject color)
 
void CopyPixels (uint8_t *pPixelDest, const uint8_t *pPixelSrc, uint16_t count)
 

Member Typedef Documentation

◆ ColorFeature

template<typename T_COLOR_FEATURE >
typedef T_COLOR_FEATURE NeoBufferProgmemMethod< T_COLOR_FEATURE >::ColorFeature

◆ ColorObject

template<typename T_COLOR_FEATURE >
typedef T_COLOR_FEATURE::ColorObject NeoBufferProgmemMethod< T_COLOR_FEATURE >::ColorObject

Constructor & Destructor Documentation

◆ NeoBufferProgmemMethod()

template<typename T_COLOR_FEATURE >
NeoBufferProgmemMethod< T_COLOR_FEATURE >::NeoBufferProgmemMethod ( uint16_t  width,
uint16_t  height,
PGM_VOID_P  pixels 
)
inline

Member Function Documentation

◆ ClearTo()

template<typename T_COLOR_FEATURE >
void NeoBufferProgmemMethod< T_COLOR_FEATURE >::ClearTo ( typename T_COLOR_FEATURE::ColorObject  color)
inline

◆ CopyPixels()

template<typename T_COLOR_FEATURE >
void NeoBufferProgmemMethod< T_COLOR_FEATURE >::CopyPixels ( uint8_t *  pPixelDest,
const uint8_t *  pPixelSrc,
uint16_t  count 
)
inline

◆ GetPixelColor() [1/2]

template<typename T_COLOR_FEATURE >
T_COLOR_FEATURE::ColorObject NeoBufferProgmemMethod< T_COLOR_FEATURE >::GetPixelColor ( int16_t  x,
int16_t  y 
) const
inline

◆ GetPixelColor() [2/2]

template<typename T_COLOR_FEATURE >
T_COLOR_FEATURE::ColorObject NeoBufferProgmemMethod< T_COLOR_FEATURE >::GetPixelColor ( uint16_t  indexPixel) const
inline

◆ Height()

template<typename T_COLOR_FEATURE >
uint16_t NeoBufferProgmemMethod< T_COLOR_FEATURE >::Height ( ) const
inline

◆ operator NeoBufferContext< T_COLOR_FEATURE >()

template<typename T_COLOR_FEATURE >
NeoBufferProgmemMethod< T_COLOR_FEATURE >::operator NeoBufferContext< T_COLOR_FEATURE > ( )
inline

◆ PixelCount()

template<typename T_COLOR_FEATURE >
uint16_t NeoBufferProgmemMethod< T_COLOR_FEATURE >::PixelCount ( ) const
inline

◆ Pixels()

template<typename T_COLOR_FEATURE >
const uint8_t* NeoBufferProgmemMethod< T_COLOR_FEATURE >::Pixels ( ) const
inline

◆ PixelSize()

template<typename T_COLOR_FEATURE >
size_t NeoBufferProgmemMethod< T_COLOR_FEATURE >::PixelSize ( ) const
inline

◆ PixelsSize()

template<typename T_COLOR_FEATURE >
size_t NeoBufferProgmemMethod< T_COLOR_FEATURE >::PixelsSize ( ) const
inline

◆ SetPixelColor() [1/2]

template<typename T_COLOR_FEATURE >
void NeoBufferProgmemMethod< T_COLOR_FEATURE >::SetPixelColor ( uint16_t  indexPixel,
typename T_COLOR_FEATURE::ColorObject  color 
)
inline

◆ SetPixelColor() [2/2]

template<typename T_COLOR_FEATURE >
void NeoBufferProgmemMethod< T_COLOR_FEATURE >::SetPixelColor ( uint16_t  x,
uint16_t  y,
typename T_COLOR_FEATURE::ColorObject  color 
)
inline

◆ Width()

template<typename T_COLOR_FEATURE >
uint16_t NeoBufferProgmemMethod< T_COLOR_FEATURE >::Width ( ) const
inline