diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-02-06 14:29:15 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-02-06 14:29:15 +0000 |
| commit | 7dd239eed97761b22ef635b6896a8f65c4939462 (patch) | |
| tree | a9c4eb95e2ae1356cd584151683dc9373e4f1140 /src/sp-pattern.h | |
| parent | Extensions->Render submenu. Scaling of input parameters into document units, ... (diff) | |
| download | inkscape-7dd239eed97761b22ef635b6896a8f65c4939462.tar.gz inkscape-7dd239eed97761b22ef635b6896a8f65c4939462.zip | |
Added new base class to handle viewBox and preserveAspectRatio.
Updated sp-root, sp-symbol, sp-image, sp-pattern, marker to use new class.
Fixed some viewport issues when % used.
(bzr r13002)
Diffstat (limited to 'src/sp-pattern.h')
| -rw-r--r-- | src/sp-pattern.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sp-pattern.h b/src/sp-pattern.h index 4e3657ccf..f69ba10b3 100644 --- a/src/sp-pattern.h +++ b/src/sp-pattern.h @@ -25,12 +25,13 @@ class SPPatternReference; #include "svg/svg-length.h" #include "sp-paint-server.h" #include "uri-references.h" +#include "viewbox.h" #include <stddef.h> #include <sigc++/connection.h> -class SPPattern : public SPPaintServer { +class SPPattern : public SPPaintServer, public SPViewBox { public: SPPattern(); virtual ~SPPattern(); @@ -52,9 +53,6 @@ public: SVGLength y; SVGLength width; SVGLength height; - /* VieBox */ - Geom::Rect viewBox; - guint viewBox_set : 1; sigc::connection modified_connection; |
