diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2015-03-01 08:57:53 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2015-03-01 08:57:53 +0000 |
| commit | b5be22f5bd07ff14b7eade763fb9b6f755d1cf5c (patch) | |
| tree | cc69f348083dfde94488df361adaf4cb5b4d2908 /src/sp-mesh-gradient.h | |
| parent | if viewbox does not exist in file, set the document-units to be px. (Bug 1239... (diff) | |
| download | inkscape-b5be22f5bd07ff14b7eade763fb9b6f755d1cf5c.tar.gz inkscape-b5be22f5bd07ff14b7eade763fb9b6f755d1cf5c.zip | |
Rename <meshGradient> to <mesh>, <meshRow> to <meshrow>, <meshPatch> to <meshpatch>.
Remove experimental smoothing types. Add new smoothing 'type' attribute with bicubic smoothing option.
Per SVG WG decission at Sydney 2015 face-to-face meeting.
(bzr r13956)
Diffstat (limited to 'src/sp-mesh-gradient.h')
| -rw-r--r-- | src/sp-mesh-gradient.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/sp-mesh-gradient.h b/src/sp-mesh-gradient.h deleted file mode 100644 index 343cae840..000000000 --- a/src/sp-mesh-gradient.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef SP_MESH_GRADIENT_H -#define SP_MESH_GRADIENT_H - -/** \file - * SPMeshGradient: SVG <meshgradient> implementation. - */ - -#include "svg/svg-length.h" -#include "sp-gradient.h" - -#define SP_MESHGRADIENT(obj) (dynamic_cast<SPMeshGradient*>((SPObject*)obj)) -#define SP_IS_MESHGRADIENT(obj) (dynamic_cast<const SPMeshGradient*>((SPObject*)obj) != NULL) - -/** Mesh gradient. */ -class SPMeshGradient : public SPGradient { -public: - SPMeshGradient(); - virtual ~SPMeshGradient(); - - SVGLength x; // Upper left corner of mesh - SVGLength y; // Upper right corner of mesh - SPMeshSmooth smooth; - bool smooth_set; - virtual cairo_pattern_t* pattern_new(cairo_t *ct, Geom::OptRect const &bbox, double opacity); - -protected: - virtual void build(SPDocument *document, Inkscape::XML::Node *repr); - virtual void set(unsigned key, char const *value); - virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags); -}; - -#endif /* !SP_MESH_GRADIENT_H */ - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : |
