[EMAIL PROTECTED] wrote:
> Splines in floatcanvas use control points but for what i'm doing i  
> need to get spline points.

FloatCanvas1 uses the spline implementation that is in wxDC, which I 
believe was borrowed from Xfig.

In any case, no, you can't get the spline points (though I'm a bit 
confused about which is which.)

If you want a bezier spline with full control over the control points, 
you can make a new Spline object that uses a wxGraphicsContext to draw 
the spline. There are a couple examples in the Wiki under HowTo:

http://morticia.cs.dal.ca/FloatCanvas/

Another option is to make the leap to the new FloatCanvas2, which is 
being discussed in another thread on this list. It is brand new, though, 
so might take a bit more to get it working for your needs.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to