30 bool is_valid()
const {
return image_ !=
nullptr; }
43 void* image_ =
nullptr;
Definition canvas.hpp:240
SvgImage(const SvgImage &)=delete
std::vector< uint8_t > rasterize(int width, int height) const
SvgImage(SvgImage &&other) noexcept
void render(Canvas &canvas, float x, float y, float width, float height) const
bool is_valid() const
Definition svg.hpp:30
SvgImage & operator=(SvgImage &&other) noexcept
SvgImage & operator=(const SvgImage &)=delete
static SvgImage from_string(const std::string &svg_data)
static SvgImage from_file(const std::string &path)
Definition affine_transform.hpp:24
@ path
Definition scene_node.hpp:93