fg_paint()

Win32 DirectX Fastgraph/Light

Prototype

void fg_paint (int ix, int iy);

Sub fg_paint (ByVal ix As Long, ByVal iy As Long)

procedure fg_paint (ix, iy : integer);

Description

The fg_paint() function fills an arbitrary closed region with pixels of the current color. The region is defined by specifying a screen space point within its interior.

Parameters

ix is the screen space x coordinate of the interior point.

iy is the screen space y coordinate of the interior point.

Return value

none

Restrictions

The virtual buffer edges are not considered region boundaries, and filling an open region will cause fg_paint() to behave unpredictably.

See also

fg_flood(), fg_paintw()

Examples

Graphics, Scroller

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.