Hi, I'm drawing a very simple bezier curve that looks like a ")". The odd thing is that the beginning and ending points connect with a straight line.
I'm new in doing this type of thing. Is this to be expected or not? Here's the code segment that defines the points, path and draws the curve: paint.setStyle(Paint.Style.STROKE); paint.setStrokeWidth(4.0f); // Draw a bezier curve with end points s,e and control points cp1,cp2 Path path = new Path(); Point s = new Point(171, 114); Point cp1 = new Point(181, 127); Point cp2 = new Point(186, 141; Point e = new Point(172, 159); path.moveTo(s.x, s.y); path.cubicTo(cp1.x, cp1.y, cp2.x, cp2.y, e.x, e.y); path.close(); canvas.drawPath(path, paint); Am I missing something in defining the path? TIA, jb -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

