Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who's right, VB or VFP?
Message
From
13/07/2002 01:57:53
 
 
To
12/07/2002 18:28:52
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00676246
Message ID:
00678366
Views:
16
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
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform