|
NovaSVG 0.10.0
A header-only SVG library
|
#include <canvas.h>
Public Member Functions | |
| constexpr | Point ()=default |
| constexpr | Point (const point_t &point) |
| constexpr | Point (float x, float y) |
| constexpr void | move (float dx, float dy) |
| constexpr void | move (float d) |
| constexpr void | move (const Point &p) |
| constexpr void | scale (float sx, float sy) |
| constexpr void | scale (float s) |
| constexpr float | dot (const Point &p) const |
Public Attributes | |
| float | x {0} |
| float | y {0} |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 67 of file canvas.h.
Referenced by novasvg::operator+=(), and novasvg::operator-=().
|
inlineconstexpr |
|
inlineconstexpr |
| float novasvg::Point::x {0} |
Definition at line 77 of file canvas.h.
Referenced by novasvg::Path::addEllipse(), novasvg::Rect::contains(), dot(), novasvg::SVGMarkerElement::markerTransform(), move(), novasvg::Rect::move(), move(), novasvg::operator+(), novasvg::operator-(), novasvg::operator-(), novasvg::SVGPoint::parse(), novasvg::SVGPointList::parse(), novasvg::ForeignObjectSimple::render(), and scale().
| float novasvg::Point::y {0} |
Definition at line 78 of file canvas.h.
Referenced by novasvg::Path::addEllipse(), novasvg::Rect::contains(), dot(), novasvg::SVGMarkerElement::markerTransform(), move(), novasvg::Rect::move(), move(), novasvg::operator+(), novasvg::operator-(), novasvg::operator-(), novasvg::SVGPoint::parse(), novasvg::SVGPointList::parse(), novasvg::ForeignObjectSimple::render(), and scale().