Jump to content

Color of a screen pixel: Difference between revisions

(→‎{{header|Java}}: Indicate where Robot comes from.)
Line 145:
CallDLL #gdi32, "GetPixel", hDC As uLong, x As long, y As long, GetPixel As long
End Function</lang>
 
=={{header|Locomotive Basic}}==
 
<lang locobasic>10 x=320:y=200
20 color=TEST(x,y)
30 PRINT "Pen color at"; x; y; "is"; color</lang>
 
=={{header|Logo}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.