/*
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_RADIAL_GRADIENT_H
11#define SP_RADIAL_GRADIENT_H
28 int tag()
const override {
return tag_of<
decltype(*this)>; }
42 void update(
SPCtx *ctx,
unsigned int flags)
override;
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 * repr
Inkscape::XML::Node * write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override
Write radial gradient attributes to associated repr.
std::unique_ptr< Inkscape::DrawingPaintServer > create_drawing_paintserver() override
void build(SPDocument *document, Inkscape::XML::Node *repr) override
Set radial gradient attributes from associated repr.
~SPRadialGradient() override
void update(SPCtx *ctx, unsigned int flags) override
_cairo_pattern cairo_pattern_t
static cairo_user_data_key_t key
Interface for XML documents.