summaryrefslogtreecommitdiffstats
path: root/src/sp-ellipse.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-09-26 13:56:34 +0000
committerMarkus Engel <markus.engel@tum.de>2013-09-26 13:56:34 +0000
commit2eb38df468e306e32b9961fcc102431e413ebb42 (patch)
tree71bef633bfc255edfa17887a9bbcec507889c68d /src/sp-ellipse.cpp
parentSimplified some in-code circle creation. (diff)
parentC++ify calling a few SPLPEItem functions, much more work than expected... slo... (diff)
downloadinkscape-2eb38df468e306e32b9961fcc102431e413ebb42.tar.gz
inkscape-2eb38df468e306e32b9961fcc102431e413ebb42.zip
Merged from trunk (r12593).
(bzr r11608.1.132)
Diffstat (limited to 'src/sp-ellipse.cpp')
-rw-r--r--src/sp-ellipse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp
index 09b99dad1..55f308c6b 100644
--- a/src/sp-ellipse.cpp
+++ b/src/sp-ellipse.cpp
@@ -147,7 +147,7 @@ void SPGenericEllipse::update_patheffect(bool write) {
/* fixme: Think (Lauris) */
/* Can't we use arcto in this method? */
void SPGenericEllipse::set_shape() {
- if (sp_lpe_item_has_broken_path_effect(this)) {
+ if (hasBrokenPathEffect()) {
g_warning ("The ellipse shape has unknown LPE on it! Convert to path to make it editable preserving the appearance; editing it as ellipse will remove the bad LPE");
if (this->getRepr()->attribute("d")) {
@@ -237,7 +237,7 @@ void SPGenericEllipse::set_shape() {
this->setCurveInsync( curve, TRUE);
this->setCurveBeforeLPE(curve);
- if (sp_lpe_item_has_path_effect(this) && sp_lpe_item_path_effects_enabled(this)) {
+ if (hasPathEffect() && sp_lpe_item_path_effects_enabled(this)) {
SPCurve *c_lpe = curve->copy();
bool success = sp_lpe_item_perform_path_effect(this, c_lpe);