touchgfx::LCD::drawGlyph() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::LCD::drawGlyph() method

@fn virtual void LCD::drawGlyph(uint16_t* wbuf, Rect widgetArea, int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, const Rect& invalidatedArea, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha, TextRotation rotation = TEXT_ROTATE_0) = 0; Private version of draw-glyph. Private version of draw-glyph with explicit destination buffer pointer argument. For all parameters (except the buffer pointer) see the public version of drawGlyph()

Syntax

virtual void drawGlyph(uint16_t* wbuf,     Rect widgetArea,     int16_t x,     int16_t y,     uint16_t offsetX,     uint16_t offsetY,     const Rect& invalidatedArea,     const GlyphNode* glyph,     const uint8_t* glyphData,     colortype color,     uint8_t bitsPerPixel,     uint8_t alpha,     TextRotation rotation = TEXT_ROTATE_0) = 0;

Arguments

wbuf

widgetArea

The canvas to draw the glyph inside.

x

Horizontal offset to start drawing the glyph.

y

Vertical offset to start drawing the glyph.

offsetX

Horizontal offset in the glyph to start drawing from.

offsetY

Vertical offset in the glyph to start drawing from.

invalidatedArea

The area to draw inside.

glyph

Specifications of the glyph to draw.

glyphData

Data containing the actual glyph (dense format)

color

The color of the glyph.

bitsPerPixel

Bit depth of the glyph.

alpha

The transparency of the glyph.

rotation

Rotation to do before drawing the glyph.

References

LocationReferrerScopeText
LCD.hpp:434
virtual void drawGlyph(uint16_t* wbuf, Rect widgetArea, int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, const Rect& invalidatedArea, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha, TextRotation rotation = TEXT_ROTATE_0) = 0;
LCD.hpp:93
void drawGlyph(int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, int16_t maxX, int16_t maxY, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha = 255);
LCD16bpp.hpp:246touchgfx::LCD16bpp::drawGlyph()touchgfx::LCD16bpp
virtual void drawGlyph(uint16_t* wbuf, Rect widgetArea, int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, const Rect& invalidatedArea, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha, TextRotation rotation = TEXT_ROTATE_0);
LCD24bpp.hpp:248touchgfx::LCD24bpp::drawGlyph()touchgfx::LCD24bpp
virtual void drawGlyph(uint16_t* wbuf, Rect widgetArea, int16_t x, int16_t y, uint16_t offsetX, uint16_t offsetY, const Rect& invalidatedArea, const GlyphNode* glyph, const uint8_t* glyphData, colortype color, uint8_t bitsPerPixel, uint8_t alpha, TextRotation rotation = TEXT_ROTATE_0);

Override Tree

Overridden methods
touchgfx::LCD::drawGlyph()