On 23.07.07, Joerg Lehmann wrote: > On 20.07.07, Andre Wobst wrote: > > 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. > > I would also need to look this up. > > > 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. > > AFAIR it indeed did not work correctly in PDF, that's why it's a fill > style.
Just to add a single comment from a PyX user: The hatch filling was essentially the only feature that caused problems when printing, as far as I experienced. The printer was a high-class Lexmark with sufficient memory, but the way the hatched patterns are created in PyX made it stumble. Instead of adding more features to this type of patterns, I would rather suggest to remove the feature or replace it by a more stable one (hatching "by hand": stroking many lines and then clip). In combination with parallel deformers, this can be used to create an effect such as patterning a line. Michael. -- Michael Schindler Laboratoire de Physico-Chimie Théorique. ESPCI. 10 rue Vauquelin, 75231 Paris cedex 05, France. Tel: +33 (0)1 40 79 45 97 Fax: +33 (0)1 40 79 47 31 http: www.pct.espci.fr/~michael ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
