Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drawing a curved line
Message
De
27/01/2003 13:53:11
 
 
À
27/01/2003 12:56:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00745839
Message ID:
00745905
Vues:
23
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform