fg_dash()

Win32 DirectX Fastgraph/Light

Prototype

void fg_dash (int ix, int iy, int pattern);

Sub fg_dash (ByVal ix As Long, ByVal iy As Long, ByVal pattern As Long)

procedure fg_dash (ix, iy, pattern : integer);

Description

The fg_dash() function draws a dashed line from the graphics cursor position to an absolute screen space position. It also makes the destination position the new graphics cursor position.

Parameters

ix is the screen space x coordinate of the destination position.

iy is the screen space y coordinate of the destination position.

pattern represents a 16-bit cyclic dash pattern. Bits that are 1 will result in a pixel being drawn; bits that are 0 will result in a pixel being skipped.

Return value

none

Restrictions

none

See also

fg_dashrel(), fg_dashrw(), fg_dashw(), fg_move()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.