[Gambas-user] GB3, Paint.CurveTo

wally wally at ...2037...
Sat Dec 4 09:35:34 CET 2010


Hello,
i want to paint a graph from numerical data using CurveTo.
CurveTo expects 3 points (p1,p2,p3) where p1 == (x1,y1)
If i want to advance in curve plotting i have to add a p4,p5,...pn.
Do i need always to provide the additional point by repeating the 
recently added 2 points or is there a smarter not redundant way ?
Paint.CurveTo(p1,p2,p3)
Paint.CurveTo(p2,p3,p4)
PAit.CurveTo(p3,p4,p5) 
.....    a.s.o. 
Wjere can i find some cairo example code ?

Cheers wally





More information about the User mailing list