diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-03-17 12:29:02 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-03-17 12:29:02 +0000 |
| commit | 732618cd7d6159ee47cc0dd8b86cf07790e3e724 (patch) | |
| tree | 5e7ce92337d91b24e07f9c5f8992f1bc6478c692 /src/marker.cpp | |
| parent | Working in widgets (diff) | |
| download | inkscape-732618cd7d6159ee47cc0dd8b86cf07790e3e724.tar.gz inkscape-732618cd7d6159ee47cc0dd8b86cf07790e3e724.zip | |
Working with widjets
(bzr r11950.1.56)
Diffstat (limited to 'src/marker.cpp')
| -rw-r--r-- | src/marker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/marker.cpp b/src/marker.cpp index 9717160ed..ba5cd4b05 100644 --- a/src/marker.cpp +++ b/src/marker.cpp @@ -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. |
