touchgfx::CanvasWidget::draw() const is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::CanvasWidget::draw() const

touchgfx::CanvasWidget::draw() const method

@fn virtual void CanvasWidget::draw(const Rect& invalidatedArea) const; Draws the given invalidated area. Draws the given invalidated area. If the underlying CanvasWidgetRenderer fail to render the widget (due to memory limitations), the invalidated area is cut into smaller slices which are then drawn separately. If drawing a single raster line fails, that line is skipped (left blank/transparent) and drawing continues on the next raster line. If drawing has failed at least once, the number of successfully drawn lines is remembered for the next time. If a future draw would need to draw more lines, the area is automatically divided into smaller areas to prevent drawing the canvas widget in vain. @see drawCanvasWidget()

Syntax

virtual void draw(const Rect& invalidatedArea) const;

Arguments

invalidatedArea

The invalidated area.

References

LocationText
CanvasWidget.hpp:136
virtual void draw(const Rect& invalidatedArea) const;

Override Tree

Methods overriding this one
touchgfx::CanvasWidget::draw() const
all items filtered out