framebuffer-clear!

Synopsis

(framebuffer-clear! framebuffer)

Parameters

  • framebuffer : A framebuffer object

Description

Side Effects

The framebuffer is cleared to “all black” and the invisible graphical cursor is set to its origin (0,0).

Return Value

unspecified (ok)

Example

> f
#<framebuffer device:/dev/fb0 width:1600 height:900 cursor:100,200 lh:0 bpp:32 fd:3>
> (framebuffer-width f)
1600
> (framebuffer-clear! f)
ok
> f
#<framebuffer device:/dev/fb0 width:1600 height:900 cursor:0,0 lh:0 bpp:32 fd:3>
>