summaryrefslogtreecommitdiffstats
path: root/src/marker.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-03-19 02:26:40 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-03-19 02:26:40 +0000
commit5c8a7b8df6203791610487d2435646f86a0eed96 (patch)
tree3bf6c7a52f27978f84b267482bb69389051c4085 /src/marker.cpp
parentchanges_2013_03_18c.patch (diff)
parentDrop remaining unused functions (diff)
downloadinkscape-5c8a7b8df6203791610487d2435646f86a0eed96.tar.gz
inkscape-5c8a7b8df6203791610487d2435646f86a0eed96.zip
merge from trunk (r12224)
(bzr r11668.1.60)
Diffstat (limited to 'src/marker.cpp')
-rw-r--r--src/marker.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/marker.cpp b/src/marker.cpp
index ba5cd4b05..b3b493b00 100644
--- a/src/marker.cpp
+++ b/src/marker.cpp
@@ -301,7 +301,7 @@ static void sp_marker_update(SPObject *object, SPCtx *ctx, guint flags)
// fixme: We have to set up clip here too
// Copy parent context
- rctx.ctx = *ctx;
+ rctx.flags = ctx->flags;
// Initialize tranformations
rctx.i2doc = Geom::identity();
@@ -324,13 +324,13 @@ static void sp_marker_update(SPObject *object, SPCtx *ctx, guint flags)
// Now set up viewbox transformation
// Determine actual viewbox in viewport coordinates
- double x = 0;
- double y = 0;
+ // double x = 0;
+ // double y = 0;
double width = 0;
double height = 0;
if (marker->aspect_align == SP_ASPECT_NONE) {
- x = 0.0;
- y = 0.0;
+ // x = 0.0;
+ // y = 0.0;
width = rctx.viewport.width();
height = rctx.viewport.height();
} else {
@@ -343,7 +343,7 @@ static void sp_marker_update(SPObject *object, SPCtx *ctx, guint flags)
height = (vb.height()) * scale;
// Now place viewbox to requested position
- switch (marker->aspect_align) {
+ /*switch (marker->aspect_align) {
case SP_ASPECT_XMIN_YMIN:
x = 0.0;
y = 0.0;
@@ -384,7 +384,7 @@ static void sp_marker_update(SPObject *object, SPCtx *ctx, guint flags)
x = 0.0;
y = 0.0;
break;
- }
+ }*/
}
// TODO fixme: all that work is done to figure out x and y, which are just ignored. Check why.