fg_dashrw()

Win32 DirectX Fastgraph/Light

Prototype

void fg_dashrw (double x, double y, int pattern);

Sub fg_dashrw (ByVal x As Double, ByVal y As Double, ByVal pattern As Long)

procedure fg_dashrw (x, y : real; pattern : integer);

Description

The fg_dashrw() function draws a dashed line from the graphics cursor position to a 2D world space position relative to it. It also makes the destination position the new graphics cursor position.

Parameters

x is the world space x offset of the destination position.

y is the world space y offset 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_dash(), fg_dashrel(), fg_dashw(), fg_moverw()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.