DrawPath, DrawArc, DrawBezier, DrawCurve, DrawClosed Curve

rbulph

Well-known member
Joined
Feb 17, 2003
Messages
343
Theres rather a bewildering choice of methods to draw a curve. Do any of them allow me to draw a curve beginning and ending at known points, and specifying areas of the graphics object that the curve is to avoid? Or do I have to figure out points away from the areas to be avoided to cause the curve to avoid them?
 
Yes, GDI+ gives you many ways do define a curve, but those ways do not include defining a curve by points it does not contain. Microsoft isnt that nice.
 
OK, figured that would probably be the case. I think Ill achieve what I want by drawing right angles that are rounded at the corners. It doesnt seem that any one of the graphics methods will do this for me, so Ill just have to draw the two lines of each right angle a little bit short at the corners, and fill in the gap with a quarter circle. Time to get the trigonometry textbook out.
 
Last edited by a moderator:
Back
Top