summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/wmf-print.cpp
diff options
context:
space:
mode:
authorTomasz Boczkowski <penginsbacon@gmail.com>2015-04-25 12:59:51 +0000
committerTomasz Boczkowski <penginsbacon@gmail.com>2015-04-25 12:59:51 +0000
commit3eb2b94eded9236bea634cd28eae13a3645a8cfb (patch)
treef89f5fc023b87e5127ed57a1fc22c6d21e88fbd0 /src/extension/internal/wmf-print.cpp
parentmerged SPColorSlider c++-sification from svgpaints branch (diff)
parentSPPattern c++-sification: class fields are private (diff)
downloadinkscape-3eb2b94eded9236bea634cd28eae13a3645a8cfb.tar.gz
inkscape-3eb2b94eded9236bea634cd28eae13a3645a8cfb.zip
merged SPPattern c++-sification from svgpaints branch
(bzr r14059.1.2)
Diffstat (limited to 'src/extension/internal/wmf-print.cpp')
-rw-r--r--src/extension/internal/wmf-print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/wmf-print.cpp b/src/extension/internal/wmf-print.cpp
index 567f9f366..2d0e51e30 100644
--- a/src/extension/internal/wmf-print.cpp
+++ b/src/extension/internal/wmf-print.cpp
@@ -379,8 +379,8 @@ int PrintWmf::create_brush(SPStyle const *style, U_COLORREF *fcolor)
} else if (SP_IS_PATTERN(SP_STYLE_FILL_SERVER(style))) { // must be paint-server
SPPaintServer *paintserver = style->fill.value.href->getObject();
SPPattern *pat = SP_PATTERN(paintserver);
- double dwidth = pattern_width(pat);
- double dheight = pattern_height(pat);
+ double dwidth = pat->get_width();
+ double dheight = pat->get_height();
width = dwidth;
height = dheight;
brush_classify(pat, 0, &pixbuf, &hatchType, &hatchColor, &bkColor);