/*
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 INKSCAPE_SP_TSPAN_H
11#define INKSCAPE_SP_TSPAN_H
30 int tag()
const override {
return tag_of<
decltype(*this)>; }
38 void update(
SPCtx* ctx,
unsigned int flags)
override;
39 void modified(
unsigned int flags)
override;
43 const char*
typeName()
const override;
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
3x3 matrix representing an affine transformation.
Axis-aligned rectangle that can be empty.
Interface for refcounted XML nodes.
Typed SVG document implementation.
Base class for visual SVG elements.
Inkscape::XML::Node * repr
void modified(unsigned int flags) override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
TextTagAttributes attributes
Geom::OptRect bbox(Geom::Affine const &transform, SPItem::BBoxType type) const override
const char * displayName() const override
The item's type name as a translated human string.
const char * typeName() const override
The item's type name, not node tag name.
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags) override
void update(SPCtx *ctx, unsigned int flags) override
static cairo_user_data_key_t key
Some things pertinent to all visible shapes: SPItem, SPItemView, SPItemCtx.
@ SP_TSPAN_ROLE_PARAGRAPH
@ SP_TSPAN_ROLE_UNSPECIFIED
Interface for XML documents.
contains and manages the attributes common to all types of text tag