summaryrefslogtreecommitdiffstats
path: root/src/object/sp-image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-image.h')
-rw-r--r--src/object/sp-image.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/object/sp-image.h b/src/object/sp-image.h
index 9a45f819c..04e1df7fa 100644
--- a/src/object/sp-image.h
+++ b/src/object/sp-image.h
@@ -30,7 +30,7 @@ namespace Inkscape { class Pixbuf; }
class SPImage : public SPItem, public SPViewBox, public SPDimensions {
public:
SPImage();
- virtual ~SPImage();
+ ~SPImage() override;
Geom::Rect clipbox;
double sx, sy;
@@ -45,20 +45,20 @@ public:
Inkscape::Pixbuf *pixbuf;
- virtual void build(SPDocument *document, Inkscape::XML::Node *repr);
- virtual void release();
- virtual void set(unsigned int key, char const* value);
- virtual void update(SPCtx *ctx, unsigned int flags);
- virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags);
- virtual void modified(unsigned int flags);
+ void build(SPDocument *document, Inkscape::XML::Node *repr) override;
+ void release() override;
+ void set(unsigned int key, char const* value) override;
+ void update(SPCtx *ctx, unsigned int flags) override;
+ Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override;
+ void modified(unsigned int flags) override;
- virtual Geom::OptRect bbox(Geom::Affine const &transform, SPItem::BBoxType type) const;
- virtual void print(SPPrintContext *ctx);
- virtual const char* displayName() const;
- virtual char* description() const;
- virtual Inkscape::DrawingItem* show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags);
- virtual void snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const;
- virtual Geom::Affine set_transform(Geom::Affine const &transform);
+ Geom::OptRect bbox(Geom::Affine const &transform, SPItem::BBoxType type) const override;
+ void print(SPPrintContext *ctx) override;
+ const char* displayName() const override;
+ char* description() const override;
+ Inkscape::DrawingItem* show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags) override;
+ void snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const override;
+ Geom::Affine set_transform(Geom::Affine const &transform) override;
#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2)
void apply_profile(Inkscape::Pixbuf *pixbuf);