bitmap-clearpixel!

Synopsis

(bitmap-clearpixel! bitmap x y)

Parameters

  • bitmap
  • x,y: Pixel coordinates

Description

Side Effects

The pixel at the specified coordinates is cleared (set to white).

Return Value

The modified bitmap is returned.

Example

> (define bm (bitmap-create 100 100))
bm
> (bitmap-clearpixel! bm 0 0)
#<bitmap orow:-1 ocol:-1 xres:-1 yres:-1 h:100 w:100>
>