OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ploticus/axis-gridblocks.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  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
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. This fixes (workarounds) gridblock drawing. The original code drew the
  18. whole area, and then started at the top overdrawing the first block and
  19. thus missing one at the button (or reversed if reversed ...).
  20. This changes the behaviour to always draw downwards (or reversed) and thus
  21. at least yielding the correct gridblocks - although the performance is
  22. bad (many block fills ...).
  23. - Rene Rebe <rene@exactcode.de>
  24. diff -ur pl221src/src/proc_axis.c pl221src-fixed/src/proc_axis.c
  25. --- pl221src/src/proc_axis.c 2004-05-11 21:11:53.000000000 +0200
  26. +++ pl221src-fixed/src/proc_axis.c 2004-06-04 18:50:19.000000000 +0200
  27. @@ -937,7 +937,7 @@
  28. Ecblock( glemin, gbylast, glemax, Ea( Y, y ), gbcolor2, 0 );
  29. gbstate = 0;
  30. }
  31. - gbylast = Ea( Y, y );
  32. + /* gbylast = Ea( Y, y ); */
  33. }
  34. else {
  35. linedet( "grid", grid, 0.5 );