Hi, On 19.01.07, Michael Schindler wrote: > On 19.01.07, kib2 wrote: > > 1. I've tried without success to hatch a path with a color, but it > > still remains black. But maybe I missed something ? There's > > nothing on the docs. > > I had a look into the code. It appears that in pattern.py, the > patterns can only be used to fill (they are derived from > style.fillstyle). Maybe Jörg or André know more about the reason > behind this restriction.
Question: Do you want coloured hatches? AFAIR there are different hatch types, some of them might contain colours (I just don't remember -- I would need to have a look into the specs). AFAIR we support only a very single hatch type, maybe colour changes are not allowed there. Probably. Beside that Michael is right, that we support hatching for filling only. I think in PostScript you can use a hatch style for stroking as well, but this is not available in PDF. I'm not totally sure here eigher, but there is some issue like that. André -- by _ _ _ Dr. André Wobst / \ \ / ) [EMAIL PROTECTED], http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
