Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
There's 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?
  • Leaders
Posted
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 isn't that nice.
[sIGPIC]e[/sIGPIC]
Posted (edited)
OK, figured that would probably be the case. I think I'll achieve what I want by drawing right angles that are rounded at the corners. It doesn't seem that any one of the graphics methods will do this for me, so I'll 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. Edited by rbulph

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...