Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drawing a curved line
Message
From
27/01/2003 13:53:11
 
 
To
27/01/2003 12:56:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00745839
Message ID:
00745905
Views:
22
maybe this helps, try something along this line:
*!*	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