Color of a screen pixel: Difference between revisions

Content added Content deleted
(→‎{{header|Java}}: Indicate where Robot comes from.)
Line 145: Line 145:
CallDLL #gdi32, "GetPixel", hDC As uLong, x As long, y As long, GetPixel As long
CallDLL #gdi32, "GetPixel", hDC As uLong, x As long, y As long, GetPixel As long
End Function</lang>
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}}==
=={{header|Logo}}==