paint()

Fills a closed area
with current ink color set by the ink() command.

Syntax:
paint( x , y )

Example:
circle( 320, 240, 200 )
paint( 320, 240 )
waitkey
wait(500)
cls
circle( 320, 240, 200 )
paint( 0, 0 )
waitkey

Example:
paint.sdlbas

See also ink() command.