#include <genesis/utils/formats/svg/image.hpp>
Public Member Functions | |
SvgImage (std::string const &href) | |
SvgImage (std::string const &href, SvgPoint const &position) | |
SvgImage (std::string const &href, SvgPoint const &position, SvgSize const &size) | |
SvgImage (std::string const &href, double x, double y, double w, double h) | |
SvgImage (SvgImage const &)=default | |
SvgImage (SvgImage &&)=default | |
~SvgImage ()=default | |
SvgBox | bounding_box () const |
SvgImage & | operator= (SvgImage const &)=default |
SvgImage & | operator= (SvgImage &&)=default |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgImage |
Public Attributes | |
std::string | href |
std::string | id |
SvgPoint | position |
SvgSize | size |
SvgTransform | transform |
SvgImage | ( | std::string const & | href, |
double | x, | ||
double | y, | ||
double | w, | ||
double | h | ||
) |
|
default |
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
SvgTransform transform |