touchgfx::Drawable::getSolidRect() const method
@fn virtual Rect Drawable::getSolidRect() const = 0; Pure virtual function for obtaining the largest possible rectangle that is guaranteed to be solid (non-transparent). Pure virtual function for obtaining the largest possible rectangle that is guaranteed to be solid (non-transparent). Used by JSMOC to prune the draw graph.
virtual Rect getSolidRect() const = 0; Return value
The solid rect.
Notes
The rectangle returned must be relative to (0, 0), meaning that to indicate a completely solid widget, Rect(0, 0, getWidth(), getHeight()) must be returned.
Examples
touchgfx::Drawable::getSolidRect() const is referenced by
1 libraries and example projects.
Overridden methods
touchgfx::Drawable::getSolidRect() const
Type of touchgfx::Drawable::getSolidRect() const
touchgfx::Drawable::getSolidRect() const