Hello All,
I am developing a CAD system and therefore I have to use the Api Gdi functions. I need the whole range of curves starting from Bezier, Arc and lines. But I find that most of this functions do not work in Windows 95. This functions are listed in the Windows Api but they are not working. Can anyone throw light into this matter.
My code is something like this
Case %WM_PAINT
Local Ps as PAINTSTRUCT
HDc& = BeginPaint(CbHndl, Ps)
' Gdi Initialisations such as pen, Brush,...
MoveTo HDc&, 100, 100
LineTo HDc&, 200, 200
' The above draws a line from 100, 100 to 200, 200
MoveTo HDc&, 100, 100
AngleArc HDc&, 200, 200, 100, 0, 45
' As given by the documentation, this should draw an Arc
' But it is never drawn.
EndPaint HDc&, Ps
My system is a PII 333 MHz running Windows 95.
Bye
Anand
-------------
Anand Kumar
I am developing a CAD system and therefore I have to use the Api Gdi functions. I need the whole range of curves starting from Bezier, Arc and lines. But I find that most of this functions do not work in Windows 95. This functions are listed in the Windows Api but they are not working. Can anyone throw light into this matter.
My code is something like this
Case %WM_PAINT
Local Ps as PAINTSTRUCT
HDc& = BeginPaint(CbHndl, Ps)
' Gdi Initialisations such as pen, Brush,...
MoveTo HDc&, 100, 100
LineTo HDc&, 200, 200
' The above draws a line from 100, 100 to 200, 200
MoveTo HDc&, 100, 100
AngleArc HDc&, 200, 200, 100, 0, 45
' As given by the documentation, this should draw an Arc
' But it is never drawn.
EndPaint HDc&, Ps
My system is a PII 333 MHz running Windows 95.
Bye
Anand
-------------
Anand Kumar
Comment