Change the default font to be used.
More...
#include <CanvasAction.h>
|
| CanvasImage (const RawImage &raw_image, double _x=0.0, double _y=0.0, double _w=0.0, double _h=0.0) |
|
| CanvasImage (const RawImage &raw_image, Point _p, double _w=0.0, double _h=0.0) |
|
| CanvasImage (const std::string &url, double _x=0.0, double _y=0.0, double _w=0.0, double _h=0.0) |
|
| CanvasImage (const std::string &url, Point _p, double _w=0.0, double _h=0.0) |
|
void | Apply () |
| Apply current action to emp_i.ctx. More...
|
|
CanvasAction * | Clone () const |
| Make a copy of the current action. More...
|
|
|
void | Fill (const std::string &style="") |
| Helper function to set the fill status. More...
|
|
void | Stroke (const std::string &style="") |
| Helper function to set the stroke status. More...
|
|
void | LineWidth (double line_width=1.0) |
| Helper function to set the stroke status. More...
|
|
Change the default font to be used.
emp::web::CanvasImage::CanvasImage |
( |
const RawImage & |
raw_image, |
|
|
double |
_x = 0.0 , |
|
|
double |
_y = 0.0 , |
|
|
double |
_w = 0.0 , |
|
|
double |
_h = 0.0 |
|
) |
| |
|
inline |
emp::web::CanvasImage::CanvasImage |
( |
const RawImage & |
raw_image, |
|
|
Point |
_p, |
|
|
double |
_w = 0.0 , |
|
|
double |
_h = 0.0 |
|
) |
| |
|
inline |
emp::web::CanvasImage::CanvasImage |
( |
const std::string & |
url, |
|
|
double |
_x = 0.0 , |
|
|
double |
_y = 0.0 , |
|
|
double |
_w = 0.0 , |
|
|
double |
_h = 0.0 |
|
) |
| |
|
inline |
emp::web::CanvasImage::CanvasImage |
( |
const std::string & |
url, |
|
|
Point |
_p, |
|
|
double |
_w = 0.0 , |
|
|
double |
_h = 0.0 |
|
) |
| |
|
inline |
void emp::web::CanvasImage::Apply |
( |
| ) |
|
|
inlinevirtual |
void emp::web::CanvasAction::Fill |
( |
const std::string & |
style = "" | ) |
|
|
inlineprotectedinherited |
Helper function to set the fill status.
void emp::web::CanvasAction::LineWidth |
( |
double |
line_width = 1.0 | ) |
|
|
inlineprotectedinherited |
Helper function to set the stroke status.
void emp::web::CanvasAction::Stroke |
( |
const std::string & |
style = "" | ) |
|
|
inlineprotectedinherited |
Helper function to set the stroke status.
double emp::web::CanvasImage::height |
|
protected |
Point emp::web::CanvasImage::position |
|
protected |
double emp::web::CanvasImage::width |
|
protected |
The documentation for this class was generated from the following file: