bitmap-getpixel

Synopsis

(bitmap-getpixel bitmap x y)

Parameters

  • bitmap
  • x
  • y

Description

Side Effects

Return Value

#t if the pixel is set (1 is black), #f otherwise.

Example

> (define bm (bitmap-create 100 20))
bm
> (bitmap-getpixel bm 99 0)
#f
> (bitmap-setpixel! bm 99 0)
ok
> (bitmap-getpixel bm 99 0)
#t
>