Graphics questions in VB

Hi there,

I'm planning to make a graphics program in Visual Basic. Although I used Visual Basic a long time ago, and have somewhat of a knowledge of programming, I am by no means expert (you might say barely past beginner) and have been more of an enthusiast in the past (my real job is design and animation). Recently, I downloaded VB Express and decided to take the plunge again.

Before I start cramming all the information that is out there into this tiny brain of mine, I basically have a few questions before I start re-inventing the wheel:

1. Is there a way (some kind of API or code snippet) that can make curved splines in one's program In particular, not so much bezier splines (which might be useful) but natural cubic splines. I have come across some mathematical sources, but am not that trained in the mathematics. Basically I want to know if there is any way to make smooth curves in VB. Is this something that you need DirectX for Last time I used VB, there was a Lineto command - Hopefully now there is a Curveto command.

2. Is there a routine that handles anti-aliasing in VB One again, is this something that DirectX is needed for Basically anti-aliasing smooths out the edges of lines in computer graphics.

Any help would be most appreciated. Thank you.



Answer this question

Graphics questions in VB

  • Michael Rockwell

  • andersb79

    You can also use directx for these types of things, but on another not you might want to post your messages in the language specific groups as this group is mainly for installing and registering the express products.

    I will move this to the vb express group.



  • db55

    Hi!

    You will need to read a lot  about GDI+

    Graphics class have DrawCurve(), DrawBezier() methods and many other. For antialiasing simply set SmoothingMode = SmoothingMode.AntiAlias.

    DirectX do very fast drawing, but very primitive, no curves there.



  • Mihies

    Thank you, sounds very promising...

    Where can I read about GDI+ and what it has


  • Graphics questions in VB