DQBgline
SUB

Prototype

DECLARE SUB DQBgetPal (Layer AS INTEGER, x1 AS INTEGER, y1 AS INTEGER, x2 AS
                       INTEGER, y2 AS INTEGER, Col1 AS INTEGER, Col2 AS
                       INTEGER)

Parameters

Layer - Layer to draw the line onto

x1 - First endpoint x coordinate

y1 - First endpoint y coordinate

x2 - Second endpoint x coordinate

y2 - Second endpoint y coordinate

Col1 - First endpoint color

Col2 - Second endpoint color

Returns

none

Description

Like normal DQBline, this function draws a line onto the specified layer, but interpolating colors between the two indexes specified at the endpoints; it is recommended that you call this function only after setting up a proper gradient palette.

Notes:

none