On 20.07.07, Andre Wobst wrote:
> 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.

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.

        Jörg

-------------------------------------------------------------------------
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

Reply via email to