1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../ploticus/axis-gridblocks.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2004 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
16 # --- T2-COPYRIGHT-NOTE-END ---
18 This fixes (workarounds) gridblock drawing. The original code drew the
19 whole area, and then started at the top overdrawing the first block and
20 thus missing one at the button (or reversed if reversed ...).
22 This changes the behaviour to always draw downwards (or reversed) and thus
23 at least yielding the correct gridblocks - although the performance is
24 bad (many block fills ...).
26 - Rene Rebe <rene@exactcode.de>
28 diff -ur pl221src/src/proc_axis.c pl221src-fixed/src/proc_axis.c
29 --- pl221src/src/proc_axis.c 2004-05-11 21:11:53.000000000 +0200
30 +++ pl221src-fixed/src/proc_axis.c 2004-06-04 18:50:19.000000000 +0200
32 Ecblock( glemin, gbylast, glemax, Ea( Y, y ), gbcolor2, 0 );
35 - gbylast = Ea( Y, y );
36 + /* gbylast = Ea( Y, y ); */
39 linedet( "grid", grid, 0.5 );