diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2013-04-08 12:16:02 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2013-04-08 12:16:02 +0000 |
| commit | 6ecaa3dae4f5ad50d90aba002c5151b326e61c9e (patch) | |
| tree | 23b873268559dd79c824dfea9eee8240c07c96b5 /src/display/drawing-image.cpp | |
| parent | NULL pointer checks (diff) | |
| download | inkscape-6ecaa3dae4f5ad50d90aba002c5151b326e61c9e.tar.gz inkscape-6ecaa3dae4f5ad50d90aba002c5151b326e61c9e.zip | |
Implement read/write of image-rendering property. To be used to control scaling.
(bzr r12272)
Diffstat (limited to 'src/display/drawing-image.cpp')
| -rw-r--r-- | src/display/drawing-image.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |
