EasyManua.ls Logo

Commodore 128 - Page 293

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
See also: CLOSE, CMD, GET#, INPUT#, and PRINT# statements
and system variables ST, DS, and DS$.
PAINT
Fill area with color
PAINT [color source],X,Y[,mode]
where:
color source 0 Bit map foreground
1 Bit map background (default)
2 Multicolor 1
3 Multicolor 2
starting coordinate, scaled (default at
pixel cursor (PC))
0 = paint an area defined by the color
source selected (default)
1 = paint an area defined by any non
background source
The PAINT command fills an area with color, the area is defined
by a fully enclosed shape around, but not including, the X,Y
coordinate specified. Points where the color source is the same
as the source of the pixel cursor are not PAINTed. (See example
3.)
If mode = 0 the area to be filled must be bounded by the color
source, any other color sources which lie within this boundary are
overPAINTed. (See example 1.)
If mode = 1 the boundary of the area is any color source (except
0). No color sources will be overPAINTed; i.e. only non-PAINTed
areas can be filled when mode = 1. (See example 2.)
x,y
mode
17-51

Table of Contents

Other manuals for Commodore 128

Related product manuals