36 #ifndef __INCLUDE_CSCALEDBITMAP_HXX 37 #define __INCLUDE_CSCALEDBITMAP_HXX 43 #include <nuttx/config.h> 47 #include <fixedmath.h> 50 #include <nuttx/video/rgbcolors.h> 51 #include <nuttx/nx/nxglib.h> 64 #if defined(__cplusplus) 100 bool scaleColor(FAR
const struct rgbcolor_s &incolor1,
101 FAR
const struct rgbcolor_s &incolor2,
102 b16_t fraction, FAR
struct rgbcolor_s &outcolor);
114 bool rowColor(FAR uint8_t *row, b16_t column,
115 FAR
struct rgbcolor_s &outcolor);
162 const nxgl_coord_t
getWidth(
void)
const;
170 const nxgl_coord_t
getHeight(
void)
const;
202 bool getRun(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width,
207 #endif // __cplusplus 209 #endif // __INCLUDE_CSCALEDBITMAP_HXX
bool getRun(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, FAR void *data)
const uint8_t getBitsPerPixel(void) const
bool cacheRows(unsigned int row)
const uint8_t getColorFormat(void) const
FAR uint8_t * m_rowCache[2]
bool rowColor(FAR uint8_t *row, b16_t column, FAR struct rgbcolor_s &outcolor)
CScaledBitmap(const CScaledBitmap &bitmap)
const nxgl_coord_t getWidth(void) const
const size_t getStride(void) const
static const NXWidgets::SRlePaletteBitmapEntry bitmap[]
void setSelected(bool selected)
const nxgl_coord_t getHeight(void) const
bool scaleColor(FAR const struct rgbcolor_s &incolor1, FAR const struct rgbcolor_s &incolor2, b16_t fraction, FAR struct rgbcolor_s &outcolor)
struct nxgl_size_s m_size