gEDA-dev: Xrender support for lesstif PCB

Peter Clifton pcjc2 at cam.ac.uk
Thu Nov 29 09:51:44 EST 2007


On Wed, 2007-11-28 at 22:23 -0800, Ben Jackson wrote:
> 
> I had this itch to make soldermasks translucent.  Turns out that while
> Xrender is verrry sparsely documented, it is actually pretty easy to
> do what I want.
> 
> After I got it working, I realized that rats should *definitely* be
> translucent.  Awesome!
> 
>         http://ad7gd.net/geda/transrats.png

KUDOS to you, this looks great. If you don't have time, I'll eventually
see if I can port it to the GTK Hid. There may be a GTKish way to make
the XRender calls, I'll investigate if I do the porting.

I was looking at some "wow isn't our product fantastic" videos from
commercial EDA vendors recently, and they have similarly fancy previews.
They use 3D / GL / DirectX of course, which is something Peter B and I
have mused over (but done no coding for).

Theory has it, that writing a GL HID based on either GTK or Lesstif
shouldn't be too hard, we'd just need to turn arcs etc.. into polygons.

I really liked your GIMP effects, and it would be sweet to have a
preview mode like that.

Best wishes,

Peter ("yes, I do fall for 'bling' sometimes") Clifton.




More information about the geda-dev mailing list