Hi guys,
Baring any last-minute eagerness to fix bezier curve support with GDK
(works painlessly with cairo), the polygon / path code is nearly done.
You can even select the line segments, and rubberband them about - even
if you can't create a poly{gon|line} from the GUI yet.
The code can be found on my http://repo.or.cz/w/geda-gaf/pcjc2.git
repository. It is the first commit in the branch "cairo_experiment", and
will work on its own, without cairo.
I probably need some help from a postscript guru to get the printing
right (my attempts to set line attributes just upset ghostscript), and I
would generally appreciate testing from other people. (If you test, look
at the npn-1.sym etc.. for examples of polygons).
There is a really strange bug which sometimes manifests in the GDK
rendering where the first line segment of a polygon doesn't re-draw
properly after the shape has been rubber-banded by a grip. It only seems
to be affected when that segment has a horiz / vertical orientation, and
does not depend on whether it is on the edge of the bounding box. It
also depends on locations of other nodes. I'd be interested to hear if
anyone else encounters this.
I've chased the bug long enough that I'm beginning to wonder if it is a
bug in GDK, or my graphics drivers. The bug goes away if I disable the
XOR drawing during rubberbanding, but doesn't appear to be a simple
"oops, I xor'd it too many times" type bug.
I'd like to get this finished + pushed soon, then anyone keen to pretty
up the symbol library with filled object goodness can (with a text
editor to make the initial polygons) get creative and start to make gEDA
symbols a bit more "bling".
Best wishes,
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev