diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-02-04 19:18:14 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-02-04 19:18:14 +0000 |
| commit | cfc4f286930ba77bce51f38db281e5070f392ef1 (patch) | |
| tree | 3f28c9c3735326cb0bff3b8c461686e8a7f558c5 /src/display/canvas-axonomgrid.cpp | |
| parent | Delete trailing whitespace (diff) | |
| download | inkscape-cfc4f286930ba77bce51f38db281e5070f392ef1.tar.gz inkscape-cfc4f286930ba77bce51f38db281e5070f392ef1.zip | |
fix axonomgrid emphasizing
(bzr r4657)
Diffstat (limited to 'src/display/canvas-axonomgrid.cpp')
| -rw-r--r-- | src/display/canvas-axonomgrid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/canvas-axonomgrid.cpp b/src/display/canvas-axonomgrid.cpp index 79e301b73..ef3a8eae2 100644 --- a/src/display/canvas-axonomgrid.cpp +++ b/src/display/canvas-axonomgrid.cpp @@ -627,7 +627,7 @@ CanvasAxonomGrid::Render (SPCanvasBuf *buf) // z-axis always goes from bottomleft to topright. (0,1) - (1,0) gdouble const zintercept_y_bc = (buf_tl_gc[NR::X] * -tan_angle[Z]) - buf_tl_gc[NR::Y] ; gdouble const zstart_y_sc = ( zintercept_y_bc - floor(zintercept_y_bc/lyw)*lyw ) + buf->rect.y0; - gint const zlinestart = (gint) Inkscape::round( (zstart_y_sc + buf->rect.x0*tan_angle[X] - ow[NR::Y]) / lyw ); + gint const zlinestart = (gint) Inkscape::round( (zstart_y_sc + buf->rect.x0*tan_angle[Z] - ow[NR::Y]) / lyw ); gint zlinenum = zlinestart; // lines starting from left side for (y = zstart_y_sc; y < buf->rect.y1; y += lyw, zlinenum++) { |
