/*
6 * Hugo Rodrigues <haa.rodrigues@gmail.com>
8 * Copyright (C) 2006 Hugo Rodrigues
10 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
13#ifndef SP_FEMORPHOLOGY_H_SEEN
14#define SP_FEMORPHOLOGY_H_SEEN
24 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.
Axis aligned, non-empty rectangle.
SVG drawing item for display.
Interface for refcounted XML nodes.
Typed SVG document implementation.
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
std::unique_ptr< Inkscape::Filters::FilterPrimitive > build_renderer(Inkscape::DrawingItem *item) const override
Geom::Rect calculate_region(Geom::Rect const ®ion) const override
Calculate the region taken up by a mophoplogy primitive.
Inkscape::XML::Node * repr
@ MORPHOLOGY_OPERATOR_ERODE
static cairo_user_data_key_t key
<number-opt-number> implementation.
Document level base class for all SVG filter primitives.