Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drawing a curved line
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00745839
Message ID:
00745932
Views:
23
oops, poseted that to the wrong person, sorry, here it is again.

maybe this helps, try something along this line:
>pre>
*!* BOOL Arc(
*!* HDC hdc, // handle to device context
*!* int nLeftRect, // x-coord of bounding rectangle's upper-left corner
*!* int nTopRect, // y-coord of bounding rectangle's upper-left corner
*!* int nRightRect, // x-coord of bounding rectangle's lower-right corner
*!* int nBottomRect, // y-coord of bounding rectangle's lower-right corner
*!* int nXStartArc, // first radial ending point
*!* int nYStartArc, // first radial ending point
*!* int nXEndArc, // second radial ending point
*!* int nYEndArc // second radial ending point
*!* );

DECLARE INTEGER FindWindow IN win32api INTEGER, STRING
DECLARE INTEGER GetWindowDC IN user32 INTEGER HWND
declare integer Arc in gdi32.dll ;
integer, ;
integer, ;
integer, ;
integer, ;
integer, ;
integer, ;
integer, ;
integer, ;
integer

hWindow = FindWindow(0, _Screen.Caption)
hDC = GetWindowDC(hWindow)

clear
arc(hDC, 100, 100, 200, 200, 95, 95, 180, 180)
Previous
Reply
Map
View

Click here to load this message in the networking platform