diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-04 18:11:33 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-04 18:11:33 +0000 |
| commit | 2923e07b5f57858ff9ab7e611376a7c5fab66739 (patch) | |
| tree | 56e0062cd0599b0202770511ec6038bddfc5f9e4 /src/marker.cpp | |
| parent | Reduce a half the spiro distance to redraw (diff) | |
| parent | Fix for W3C test suite test filters-light-02-f.svg. Marker refX and refY defi... (diff) | |
| download | inkscape-2923e07b5f57858ff9ab7e611376a7c5fab66739.tar.gz inkscape-2923e07b5f57858ff9ab7e611376a7c5fab66739.zip | |
update to trunk
(bzr r11950.1.274)
Diffstat (limited to 'src/marker.cpp')
| -rw-r--r-- | src/marker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/marker.cpp b/src/marker.cpp index fb7b0fd21..7fee16ead 100644 --- a/src/marker.cpp +++ b/src/marker.cpp @@ -206,7 +206,9 @@ void SPMarker::update(SPCtx *ctx, guint flags) { SPItemCtx rctx = get_rctx( &ictx ); // Shift according to refX, refY - this->c2p = Geom::Translate(this->viewBox.left()-this->refX.computed, this->viewBox.top()-this->refY.computed) * this->c2p; + Geom::Point ref( this->refX.computed, this->refY.computed ); + ref *= c2p; + this->c2p = this->c2p * Geom::Translate( -ref ); // And invoke parent method SPGroup::update((SPCtx *) &rctx, flags); |
