diff options
| author | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-10-14 11:30:31 +0000 |
|---|---|---|
| committer | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-10-14 11:30:31 +0000 |
| commit | bf11ecdfe29082801833fa565f0a1710f6fcd281 (patch) | |
| tree | 6030ebac0996bd586d648567544e9f9198a3b654 /src/sp-hatch-path.h | |
| parent | Merged hatch rendering code (diff) | |
| download | inkscape-bf11ecdfe29082801833fa565f0a1710f6fcd281.tar.gz inkscape-bf11ecdfe29082801833fa565f0a1710f6fcd281.zip | |
Merged hatch pdf and png export code
(bzr r13611.1.9)
Diffstat (limited to 'src/sp-hatch-path.h')
| -rw-r--r-- | src/sp-hatch-path.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp-hatch-path.h b/src/sp-hatch-path.h index ff091c6f9..57b3a8237 100644 --- a/src/sp-hatch-path.h +++ b/src/sp-hatch-path.h @@ -40,10 +40,13 @@ public: bool isValid() const; - Inkscape::DrawingItem *show(Inkscape::Drawing &drawing, unsigned int key); + Inkscape::DrawingItem *show(Inkscape::Drawing &drawing, unsigned int key, Geom::OptInterval extents); void hide(unsigned int key); void setStripExtents(unsigned int key, Geom::OptInterval const &extents); + Geom::Interval bounds() const; + + SPCurve *calculateRenderCurve(unsigned key) const; protected: virtual void build(SPDocument* doc, Inkscape::XML::Node* repr); @@ -61,10 +64,12 @@ private: unsigned int key; }; typedef std::list<SPHatchPath::View>::iterator ViewIterator; + typedef std::list<SPHatchPath::View>::const_iterator ConstViewIterator; std::list<View> _display; gdouble _repeatLength() const; void _updateView(View &view); + SPCurve *_calculateRenderCurve(View const &view) const; void _readHatchPathVector(char const *str, Geom::PathVector &pathv, bool &continous_join); |
