Empirical
|
Define a base class for all actions that can be done to widgets, plus simple actions. More...
Go to the source code of this file.
Classes | |
class | emp::web::CanvasAction |
Base class to maintain canvas actions. More... | |
class | emp::web::CanvasStrokeColor |
Set the line color on subsequent draw-related actions. More... | |
class | emp::web::CanvasRotate |
Rotate the entire canvas for subsequent drawings. More... | |
class | emp::web::CanvasFont |
Change the default font to be used. More... | |
class | emp::web::CanvasImage |
Change the default font to be used. More... | |
Namespaces | |
emp | |
If we are in emscripten, make sure to include the header. | |
emp::web | |
Define a base class for all actions that can be done to widgets, plus simple actions.
CanvasAction objects modify the appearance of a canvas and can be tracked to reconstruct the state of the canvas from scratch.
Other, more specific actions defined here are: CanvasStrokeColor CanvasRotate CanvasFont
See also CanvasShape.h for more actions.