summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/emf-print.cpp
diff options
context:
space:
mode:
authorTomasz Boczkowski <penginsbacon@gmail.com>2014-05-27 19:57:33 +0000
committerTomasz Boczkowski <penginsbacon@gmail.com>2014-05-27 19:57:33 +0000
commit22db6068f172d060429f17a489bdce59e5836c69 (patch)
tree4640eaae672933789ec41ec10dca546c7b28382d /src/extension/internal/emf-print.cpp
parentSPPattern c++-sification: replaced GSList by std::list (diff)
downloadinkscape-22db6068f172d060429f17a489bdce59e5836c69.tar.gz
inkscape-22db6068f172d060429f17a489bdce59e5836c69.zip
SPPattern c++-sification: replacing pattern_ functions by methods pt1
(bzr r13341.6.19)
Diffstat (limited to 'src/extension/internal/emf-print.cpp')
-rw-r--r--src/extension/internal/emf-print.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp
index 9c68e40a4..2953efd7d 100644
--- a/src/extension/internal/emf-print.cpp
+++ b/src/extension/internal/emf-print.cpp
@@ -381,8 +381,8 @@ int PrintEmf::create_brush(SPStyle const *style, PU_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);
@@ -567,8 +567,8 @@ int PrintEmf::create_pen(SPStyle const *style, const Geom::Affine &transform)
if (SP_IS_PATTERN(SP_STYLE_STROKE_SERVER(style))) { // must be paint-server
SPPaintServer *paintserver = style->stroke.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);