33 int tag()
const override {
return tag_of<
decltype(*this)>; }
63 void modified(
unsigned int flags)
override;
67 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.
Two-dimensional point that doubles as a vector.
Axis aligned, non-empty rectangle.
Storing of snapping preferences.
Interface for refcounted XML nodes.
Typed SVG document implementation.
Inkscape::XML::Node * repr
void convert_to_guides() const override
void setVisibleHeight(double ry)
Inkscape::XML::Node * write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override
bool set_rect_path_attribute(Inkscape::XML::Node *repr)
void setRx(bool set, double value)
double getVisibleHeight() const
void setVisibleRx(double rx)
double getVisibleRx() const
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
const char * typeName() const override
The item's type name, not node tag name.
const char * displayName() const override
The item's type name as a translated human string.
void tag_name_changed(gchar const *oldname, gchar const *newname) override
double getVisibleRy() const
void setVisibleWidth(double rx)
void modified(unsigned int flags) override
void update_patheffect(bool write) override
void setVisibleRy(double ry)
Geom::Affine set_transform(Geom::Affine const &xform) override
void setRy(bool set, double value)
void snappoints(std::vector< Inkscape::SnapCandidatePoint > &p, Inkscape::SnapPreferences const *snapprefs) const override
void compensateRxRy(Geom::Affine xform)
Geom::Rect getRect() const
void set_shape() override
void setPosition(double x, double y, double width, double height)
void update(SPCtx *ctx, unsigned int flags) override
static double vectorStretch(Geom::Point p0, Geom::Point p1, Geom::Affine xform)
Returns the ratio in which the vector from p0 to p1 is stretched by transform.
double getVisibleWidth() const
Base class for shapes, including <path> element.
Contains forward declarations of 2geom types.
static cairo_user_data_key_t key
@ SP_GENERIC_RECT_UNDEFINED
Interface for XML documents.