summaryrefslogtreecommitdiffstats
path: root/src/display/cairo-utils.h
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2018-09-13 12:15:17 +0000
committerJabiertxof <jabier.arraiza@marker.es>2018-09-13 12:15:17 +0000
commitbfdf74d61f17dafc74d5d64f3224222718d6cddf (patch)
tree0bdacdcdccf94b204cb494c78e654b98f61d4433 /src/display/cairo-utils.h
parentfixes and improvementes to power clip and powermask (diff)
downloadinkscape-bfdf74d61f17dafc74d5d64f3224222718d6cddf.tar.gz
inkscape-bfdf74d61f17dafc74d5d64f3224222718d6cddf.zip
Add per embed/linked SVG a DPI value
Diffstat (limited to 'src/display/cairo-utils.h')
-rw-r--r--src/display/cairo-utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/cairo-utils.h b/src/display/cairo-utils.h
index bada170ca..256bda94c 100644
--- a/src/display/cairo-utils.h
+++ b/src/display/cairo-utils.h
@@ -117,10 +117,10 @@ public:
PixelFormat pixelFormat() const { return _pixel_format; }
void ensurePixelFormat(PixelFormat fmt);
- static Pixbuf *create_from_data_uri(gchar const *uri);
- static Pixbuf *create_from_file(std::string const &fn);
+ static Pixbuf *create_from_data_uri(gchar const *uri, char const *svgdpi = NULL);
+ static Pixbuf *create_from_file(std::string const &fn, char const *svgddpi = NULL);
-private:
+ private:
void _ensurePixelsARGB32();
void _ensurePixelsPixbuf();
void _forceAlpha();