touchgfx::LCD16bpp::drawGlyph() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::LCD16bpp::drawGlyph()

touchgfx::LCD16bpp::drawGlyph() method

@fn virtual void LCD16bpp::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); Private version of draw-glyph with explicit destination buffer pointer argument. 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);

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 within.

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

LocationText
LCD16bpp.hpp:246
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

Methods overriding this one
touchgfx::LCD16bpp::drawGlyph()
all items filtered out