diff options
Diffstat (limited to 'src/lib/VSDContentCollector.h')
-rw-r--r-- | src/lib/VSDContentCollector.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/VSDContentCollector.h b/src/lib/VSDContentCollector.h index d0667e6..0d1fd27 100644 --- a/src/lib/VSDContentCollector.h +++ b/src/lib/VSDContentCollector.h @@ -220,6 +220,14 @@ private: bool parseFormatId( const char *formatString, unsigned short &result ); void _appendField(WPXString &text); + void _generateCubicBeziersFromNURBS(const std::vector<std::pair<double, double> > &controlPoints, + const std::vector<double> &knotVector); + void _generateQuadraticBeziersFromNURBS(const std::vector<std::pair<double, double> > &controlPoints, + const std::vector<double> &knotVector); + void _generatePolylineFromNURBS(unsigned degree, const std::vector<std::pair<double, double> > &controlPoints, + const std::vector<double> &knotVector, const std::vector<double> &weights); + bool _areWeightsUniform(const std::vector<double> weights) const; + bool m_isPageStarted; double m_pageWidth; double m_pageHeight; |