This will hold the values read from the SVG Path parsing code, before they are converted to points.
More...
#include <homog2d.hpp>
This will hold the values read from the SVG Path parsing code, before they are converted to points.
- See also
- SvgPathCommand
◆ addValue()
void h2d::svg::svgp::SvgValuesBuffer::addValue |
( |
std::string |
elem | ) |
|
|
inline |
12782 _values.push_back( std::stod(elem) );
std::vector< double > _values
Definition: homog2d.hpp:12758
◆ size()
size_t h2d::svg::svgp::SvgValuesBuffer::size |
( |
| ) |
const |
|
inline |
std::vector< double > _values
Definition: homog2d.hpp:12758
◆ storeValues()
12768 if(
_values.size() != (size_t)mode._nbValues )
12770 "SVG path command: inconsistency with stored values, expected " 12771 << (
size_t)mode._nbValues <<
", got " 12776 out.push_back( pt );
Point2d_< double > generateNewPoint(SvgPathCommand mode, Point2d_< double > prevPt, const std::vector< double > &val)
Generate new point from current mode and previous point, handles absolute/relative coordinates...
Definition: homog2d.hpp:12634
#define HOMOG2D_LOG(a)
Definition: homog2d.hpp:115
std::vector< double > _values
Definition: homog2d.hpp:12758
#define HOMOG2D_THROW_ERROR_1(msg)
Error throw wrapper macro.
Definition: homog2d.hpp:181
Point2d _previousPt
Definition: homog2d.hpp:12759
Point2d pt
Definition: homog2d_test.cpp:4034
◆ _previousPt
Point2d h2d::svg::svgp::SvgValuesBuffer::_previousPt |
◆ _values
std::vector<double> h2d::svg::svgp::SvgValuesBuffer::_values |
The documentation for this struct was generated from the following file: