curve throught wo points
-
i want to draw a smooth curve given two points. how do i do that??:confused:
-
i want to draw a smooth curve given two points. how do i do that??:confused:
-
Give first point in x, y and draw the curve to second point pDC->MoveTo(x,y); pDC->LineTo(x,y+200)
This will only draw a line. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_
-
i want to draw a smooth curve given two points. how do i do that??:confused:
What type of curve? Have a look at CDC::Arc() if it suits your needs. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_
-
i want to draw a smooth curve given two points. how do i do that??:confused:
To draw a curve, you need three points. With two points, you can only draw a line.
Cédric Moonen Software developer
Charting control -
Give first point in x, y and draw the curve to second point pDC->MoveTo(x,y); pDC->LineTo(x,y+200)
wow its a line (only):-D_**
**_
whitesky
-
i want to draw a smooth curve given two points. how do i do that??:confused:
curve=three points see Drawing Curved Objects[^]i think its good and see Draw a curve with control points [^]_**
**_
whitesky
-
This will only draw a line. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_
_AnShUmAn_ wrote:
This will only draw a line.
Let's say a very smooth curve! :laugh:
-
_AnShUmAn_ wrote:
This will only draw a line.
Let's say a very smooth curve! :laugh:
:->Hmm. Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_