diff options
| author | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-10-14 09:26:38 +0000 |
|---|---|---|
| committer | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-10-14 09:26:38 +0000 |
| commit | 703ddb77480e2e7ddeda21aa3b7d9a91ff8f23d2 (patch) | |
| tree | c0a7593191232ea783a713f435c4c72da8232554 /src/display/drawing-item.h | |
| parent | Fix crash with GTK+ 3.14 on launch (diff) | |
| download | inkscape-703ddb77480e2e7ddeda21aa3b7d9a91ff8f23d2.tar.gz inkscape-703ddb77480e2e7ddeda21aa3b7d9a91ff8f23d2.zip | |
Merged src/display folder from svg-paints-support branch
(bzr r13611.1.1)
Diffstat (limited to 'src/display/drawing-item.h')
| -rw-r--r-- | src/display/drawing-item.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/display/drawing-item.h b/src/display/drawing-item.h index 925bcbddb..c0c6e321e 100644 --- a/src/display/drawing-item.h +++ b/src/display/drawing-item.h @@ -28,6 +28,7 @@ class Drawing; class DrawingCache; class DrawingContext; class DrawingItem; +class DrawingPattern; namespace Filters { @@ -114,6 +115,8 @@ public: void setTransform(Geom::Affine const &trans); void setClip(DrawingItem *item); void setMask(DrawingItem *item); + void setFillPattern(DrawingPattern *pattern); + void setStrokePattern(DrawingPattern *pattern); void setZOrder(unsigned z); void setItemBounds(Geom::OptRect const &bounds); void setFilterBounds(Geom::OptRect const &bounds); @@ -135,8 +138,8 @@ protected: CHILD_CLIP = 2, // referenced by _clip member of parent CHILD_MASK = 3, // referenced by _mask member of parent CHILD_ROOT = 4, // root item of _drawing - CHILD_FILL_PATTERN = 5, // not yet implemented: referenced by fill pattern of parent - CHILD_STROKE_PATTERN = 6 // not yet implemented: referenced by stroke pattern of parent + CHILD_FILL_PATTERN = 5, // referenced by fill pattern of parent + CHILD_STROKE_PATTERN = 6 // referenced by stroke pattern of parent }; enum RenderResult { RENDER_OK = 0, @@ -185,6 +188,8 @@ protected: DrawingItem *_clip; DrawingItem *_mask; + DrawingPattern *_fill_pattern; + DrawingPattern *_stroke_pattern; Inkscape::Filters::Filter *_filter; void *_user_data; ///< Used to associate DrawingItems with SPItems that created them DrawingCache *_cache; |
