From 6ecaa3dae4f5ad50d90aba002c5151b326e61c9e Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 8 Apr 2013 14:16:02 +0200 Subject: Implement read/write of image-rendering property. To be used to control scaling. (bzr r12272) --- src/display/drawing-image.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/display/drawing-image.cpp') diff --git a/src/display/drawing-image.cpp b/src/display/drawing-image.cpp index 3f1a86ee7..753249e60 100644 --- a/src/display/drawing-image.cpp +++ b/src/display/drawing-image.cpp @@ -121,6 +121,13 @@ unsigned DrawingImage::_renderItem(DrawingContext &ct, Geom::IntRect const &/*ar if (!outline) { if (!_pixbuf) return RENDER_OK; + // if (_style) { + // _style->image_rendering.computed + // See: http://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty + // http://www.w3.org/TR/css4-images/#the-image-rendering + // style.h/style.cpp + // } + Inkscape::DrawingContext::Save save(ct); ct.transform(_ctm); ct.newPath(); -- cgit v1.2.3