/*
5 * Authors: see git history
7 * Copyright (C) 2018 Authors
8 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
10#ifndef SP_MESH_GRADIENT_H
11#define SP_MESH_GRADIENT_H
25 int tag()
const override {
return tag_of<
decltype(*this)>; }
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
Interface for refcounted XML nodes.
Typed SVG document implementation.
Inkscape::XML::Node * write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override
Write mesh gradient attributes to associated repr.
void build(SPDocument *document, Inkscape::XML::Node *repr) override
Virtual build: set gradient attributes from its associated repr.
~SPMeshGradient() override
std::unique_ptr< Inkscape::DrawingPaintServer > create_drawing_paintserver() override
Inkscape::XML::Node * repr
static cairo_user_data_key_t key
SPMeshType
A group of classes and functions for manipulating mesh gradients.
Interface for XML documents.