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()
Arguments
invalidatedArea
The invalidated area.
Methods overriding this one
touchgfx::CanvasWidget::draw() const