I made a couple of small improvements to the "bezier" handler (see code below) :
1) the number of steps for the bezier curve is stored in a variable Nsteps 2) successive duplicates in the list of points for the graphic are removed Anyway, I tried to modify / increase the # of steps for the bezier, but it doesn't change much : the design is only slightly smoothed when going from 50 to 200 steps !!! So here's the request : in a future MC version, could we have antialiasing on graphics, that also works when graphics are resized ? Thanks JB ------------- on bezier global variablezxc,a,b,c,d put the first item of a into x1 put the first item of d into x2 put the first item of b into xa put the first item of c into xb put the second item of a into y1 put the second item of d into y2 put the second item of b into ya put the second item of c into yb put 100 into Nsteps put 0 into v1 Repeat with i = 1 TO Nsteps put i*(1/Nsteps)into v1 put 1-v1 into v2 put (x1*(v2^3)+(3*xa*v1*v2*v2)+(3*xb*v1*v1*v2)+(x2*(v1^3)))into x put (y1*(v2^3)+(3*ya*v1*v2*v2)+(3*yb*v1*v1*v2)+(y2*(v1^3)))into y put x div 1,y div 1 & return after variablezxc end repeat repeat with i=(number of lines of variablezxc) down to 2 if line i of variablezxc is not "" then if line i of variablezxc = line i-1 of variablezxc then delete line i of variablezxc end if end if end repeat put variablezxc into msg -- set the points of grc "bezier1" to variablezxc end bezier _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard