Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Filevsf_color()vsf_interior()vsf_style()vsf_udpat()v_contourfill() VDISyntaxVOID v_contourfill( handle, x, y, color )
WORD handle, x, y, color;
Function v_countourfill() outputs a 'seed' fill.
Opcode 103
Availability Supported by all current screen, printer and metafile
drivers. The availability of this call can be checked for
using vq_extnd().
Parameters handle specifies a valid workstation handle. x and y specify
the starting point for the fill. If color is OTHER_COLOR
(-1) then the fill continues in all directions until a color
other than that found in x and y is found. If color is
positive then the fill continues in all directions until
color color is found.
Binding contrl[0] = 103;
contrl[1] = contrl[3] = 0;
contrl[6] = handle;
intin[0] = color;
ptsin[0] = x;
ptsin[1] = y;
vdi();
Comments In true-color mode if a positive value for color is used,
the fill spreads until a pixel is found with the same color
as 'virtual pen' color.
See Also vsf_color(), vsf_interior(), vsf_style(), vsf_udpat()Group VDI Output