On Sep 24, 2006, at 5:10 PM, CV wrote:

c.ControlX(0) = 0
  c.ControlY(0) =  -60  // eyeball this

what does "eyeball this" mean? In this case the control y value is 2x the y value of the ovalshape. Is there a rule here? doesn't seem like a general-purpose solution.

According to the language reference, an order-1 curveshape has one control point:

    1--A quadratic Bezier curve is drawn using one control point.

So, you do get a nice curve. The issue is to find the relationship between control points and the quadratic Bezier. I believe 1-order and 2-order curveshapes that use one and two control point are fairly standard. Although REALbasic doesn't say what the relationships are, they are likely the same as the relationships found elsewhere.

But I do wish that REALbasic told us precisely what the control points do. Seems like it's their job.

John Kubie

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to