gfx:make-curve

(gfx:make-oval x1 y1 x2 y2 cx1 cy1 cx2 cy2)


Description:

Returns a new path that is the bezier specified by end points x1,y1 and x2,y2 and the control points cx1,cy1 and cx2,cy2


Arguments:

             x1 -- x coordinate for start of curve

             y1 -- y coordinate for start of curve

            cx1 -- x coordinate for control point 1

             y2 -- y coordinate for end of curve

            cy2 -- y coordinate for control point 2

             x2 -- x coordinate for end of curve

            cx2 -- x coordinate for control point 2

            cy1 -- y coordinate for control point 1


Returns: path


Examples:



Back to index