Hi,
I've got two questions regarding PyX :
In pyx.trafo.trafo, I don't understand how the mirror is implemented.
As far as I know, to obtain a mirror at line passing through (0,0) with
the given angle "angle", the matrix should be like this:
((math.cos(2*angle),math.sin(2*angle)),(math.sin(2*angle),-math.cos(2*angle))).
But it is given like this:
( (math.cos(phi)*math.cos(phi)-math.sin(phi)*math.sin(phi),
-2*math.sin(phi)*math.cos(phi) ),
(-2*math.sin(phi)*math.cos(phi),
math.sin(phi)*math.sin(phi)-math.cos(phi)*math.cos(phi) ) )
There are problems with i.e a 135 degrees given angle.
My other question is relative to the transparency in pdf output. The
documentation is rather limited on this, and I found no sample.
How can I fill a given path with transparency and stroke it (without
transparency) at the same time ?
Thanks,
Kib²
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user