TouchGFX + 0/3 examples
CodeScope will show references to touchgfx::PainterRGB565Bitmap from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
 
Symbols
loading...
Files
loading...

touchgfx::PainterRGB565Bitmap class

@class PainterRGB565Bitmap PainterRGB565Bitmap.hpp touchgfx/widgets/canvas/PainterRGB565Bitmap.hpp A Painter that will paint using a bitmap. PainterRGB565Bitmap will take the color for a given point in the shape from a bitmap. Please be aware, the the bitmap is used by the CWR (not Shape), so any rotation you might specify for a Canvas Widget (e.g. Shape) is not applied to the bitmap as CWR is not aware of this rotation. @see AbstractPainter

Syntax

class PainterRGB565Bitmap : public AbstractPainterRGB565 { public:     PainterRGB565Bitmap(const Bitmap& bmp = Bitmap(BITMAP_INVALID), uint8_t alpha = 255);     void setBitmap(const Bitmap& bmp);     void setAlpha(uint8_t alpha);     uint8_t getAlpha() const;     virtual void render(uint8_t* ptr, int x, int xAdjust, int y, unsigned count, const uint8_t* covers); protected:     virtual bool renderInit();     virtual bool renderNext(uint8_t& red, uint8_t& green, uint8_t& blue, uint8_t& alpha);     const uint32_t* bitmapARGB8888Pointer;      const uint16_t* bitmapRGB565Pointer;        const uint8_t* bitmapAlphaPointer;          Bitmap bitmap;                       Rect   bitmapRectToFrameBuffer;      uint8_t painterAlpha;  };

Fields

bitmapARGB8888Pointer

No summary provided. Read more...

bitmapRGB565Pointer

No summary provided. Read more...

bitmapAlphaPointer

No summary provided. Read more...

bitmap

No summary provided. Read more...

bitmapRectToFrameBuffer

No summary provided. Read more...

painterAlpha

No summary provided. Read more...

Methods

setBitmap()

@fn void PainterRGB565Bitmap::setBitmap(const Bitmap& bmp); Sets a bitmap to be used when drawing the CanvasWidget. Sets a bitmap to be used when drawing the CanvasWidget. Read more...

setAlpha()

@fn void PainterRGB565Bitmap::setAlpha(uint8_t alpha); Sets an alpha value for the bitmap. Sets an alpha value for the bitmap. If the image contains an alpha channel, this alpha value is combined with the alpha in the bitmap to produce the final alpha value. Read more...

getAlpha() const

@fn uint8_t PainterRGB565Bitmap::getAlpha() const; Gets the current alpha value. Gets the current alpha value. @see setAlpha. Read more...

render()

No summary provided. Read more...

renderInit()

No summary provided. Read more...

renderNext()

No summary provided. Read more...

Examples

touchgfx::PainterRGB565Bitmap is referenced by 3 libraries and example projects.

References

LocationText
PainterRGB565Bitmap.hpp:38
class PainterRGB565Bitmap : public AbstractPainterRGB565

Class Tree

Child classes
touchgfx::PainterRGB565Bitmap
all items filtered out