C# Bezier curves

Post your questions regarding programming in C# in here.
4 posts Page 1 of 1
Contributors
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

C# Bezier curves
MrAksel
I need to figure out how to draw bezier curves in C#. The curves may have any amount of control points, and I wish to draw the curve with GDI+. I also want to fill an array of points with points from a bezier curve with for example 5 control points. The first thing is the most important, but I would be glad to know the second question too.
I found a few examples on Google, but they seem to work with just 3 or 4 control points, I need unlimited.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Skillful
Skillful Coders
Skillful Coders
Posts: 969
Joined: Tue Nov 16, 2010 10:07 am

Re: C# Bezier curves
Skillful
Instead of LOL use this -
LSIBMHBIWFETALOL

Which means -
Laughing silently in between my head because it wasn't funny enough to actually laugh out loud!
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: C# Bezier curves
MrAksel
I know, but I have to figure out the Bernstein functions and whatever he has in his article :/
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: C# Bezier curves
MrAksel
Forget my question about how t draw them, I just want to know how to get each point in the curve.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
4 posts Page 1 of 1
Return to “General coding help”