File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change
1
+ 2008-06-26 Fix direction of horizontal/vertical hatches - MGD
2
+
1
3
===============================================================
2
4
2008-06-22 Released 0.91.4 at revision 5638
3
5
Original file line number Diff line number Diff line change @@ -254,12 +254,12 @@ def do_hatch(angle, density):
254
254
hatchr cvi hatchgap idiv hatchgap mul
255
255
{hatcht moveto 0 hatchb hatcht sub rlineto}
256
256
for
257
- stroke
257
+ strokeCHAN
258
258
grestore
259
259
""" % (angle , 12 / density )
260
260
self ._pswriter .write ("gsave\n " )
261
- self ._pswriter .write (do_hatch (0 , hatches ['horiz' ]))
262
- self ._pswriter .write (do_hatch (90 , hatches ['vert' ]))
261
+ self ._pswriter .write (do_hatch (90 , hatches ['horiz' ]))
262
+ self ._pswriter .write (do_hatch (0 , hatches ['vert' ]))
263
263
self ._pswriter .write (do_hatch (45 , hatches ['diag1' ]))
264
264
self ._pswriter .write (do_hatch (- 45 , hatches ['diag2' ]))
265
265
self ._pswriter .write ("grestore\n " )
You can’t perform that action at this time.
0 commit comments