#include <canvas_private.hpp>
Protected Member Functions | |
rect_bounded_shape (const config &cfg) | |
Constructor. More... | |
Protected Attributes | |
typed_formula< int > | x_ |
The x coordinate of the rectangle. More... | |
typed_formula< int > | y_ |
The y coordinate of the rectangle. More... | |
typed_formula< int > | w_ |
The width of the rectangle. More... | |
typed_formula< int > | h_ |
The height of the rectangle. More... | |
Additional Inherited Members | |
Public Member Functions inherited from gui2::canvas::shape | |
shape (const config &cfg) | |
virtual | ~shape () |
virtual void | draw (wfl::map_formula_callable &variables)=0 |
Draws the canvas. More... | |
bool | immutable () const |
Definition at line 53 of file canvas_private.hpp.
|
inlineexplicitprotected |
Constructor.
cfg | The config object to define the rectangle. |
Definition at line 61 of file canvas_private.hpp.
|
protected |
The height of the rectangle.
Definition at line 73 of file canvas_private.hpp.
Referenced by gui2::rectangle_shape::draw(), gui2::round_rectangle_shape::draw(), and gui2::text_shape::draw().
|
protected |
The width of the rectangle.
Definition at line 72 of file canvas_private.hpp.
Referenced by gui2::rectangle_shape::draw(), gui2::round_rectangle_shape::draw(), and gui2::text_shape::draw().
|
protected |
The x coordinate of the rectangle.
Definition at line 70 of file canvas_private.hpp.
Referenced by gui2::rectangle_shape::draw(), gui2::round_rectangle_shape::draw(), and gui2::text_shape::draw().
|
protected |
The y coordinate of the rectangle.
Definition at line 71 of file canvas_private.hpp.
Referenced by gui2::rectangle_shape::draw(), gui2::round_rectangle_shape::draw(), and gui2::text_shape::draw().