Anonymous user
Color of a screen pixel: Difference between revisions
→{{header|Liberty BASIC}}
(→{{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}}==
|