This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TheJebForge's profile picture

Get pixel color

Started by TheJebForge, 30 January 2015 - 12:20 PM
TheJebForge #1
Posted 30 January 2015 - 01:20 PM
How can I get the pixel color on cursor location? I'm trying to make the transparent text print function.
MKlegoman357 #2
Posted 30 January 2015 - 01:24 PM
Natively, you can't. You would have to have a custom buffer to which you would draw everything and use that to get the colors or any other data you would record. You can take a look at the window API and how it handles with that.
TheJebForge #3
Posted 30 January 2015 - 01:26 PM
Then, I must rewrite the paintutils api?
Bomb Bloke #4
Posted 30 January 2015 - 02:04 PM
No, rather you need a custom term object.