Color of a screen pixel: Difference between revisions
Content added Content deleted
m (→Using GTK3: Remove unused assignment) |
|||
Line 717:
proc getPixelColor(x, y: int32): Color =
var pixbuf =
result = cast[ptr Color](pixbuf.readPixels())[]
|