There is a comment in svg.c that stipples are really just a fill-in for transparency:
/* Since we can't do stipples in SVG, and since the whole stipple thing */ /* was only put in because we can't (easily) do transparency effects */ /* in X11, we convert stipples to transparency when the stipple is a */ /* mask, and do a color blend with white when the stipple is opaque. */ Since Qt has RGBA colors and you can paint with semi-transparent pens and brushes, should I just drop all stipple functionality and simply allow using arbitrary colors with arbitrary transparency for interior fills? This would make the outline and interior color selection a little bit saner -- both would use a color list. Now the usability options: 1. How is transparency (alpha value) shared? 1a. Fixed per-object alpha -- applies to both outline and fil. 1b. Outline and fill colors each have their own alpha. 1c. Only fill color has alpha, outline has fixed 100% opaqueness 2. How are the color lists handled? 2a. Separate fill and outline color lists. 2b. Shared fill and outline color lists. I presume that postscript supports transparency for both pens and brushes? I have a postscript greenbook somewhere IIRC, I have to find it :) Cheers, Kuba _______________________________________________ Xcircuit-dev mailing list [email protected] http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev
