Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who's right, VB or VFP?
Message
De
13/07/2002 01:57:53
 
 
À
12/07/2002 18:28:52
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00676246
Message ID:
00678366
Vues:
15
This applies to VFP as well, run the following code to see:
FOR i = 1 TO 100
	_screen.PSet(i, i)
ENDFOR
>I learn something new every day!
>
>>It is traditional in computer graphics to have the origin of the graphics buffer in the upper left corner. This makes buffer arithmetic easier in that the address of a pixel = address of buffer + (Y * width of X Axis) + X
>>
>>
>>Y Axis
>>(0,0)
>>________________ X Axis
>>|\
>>| \
>>|  \ <<- Positive slope
>>|   \
>>Y Axis
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform