G_ConfigureLineΒΆ

G_ConfigureLine configures the pattern which is used to draw lines for datasets.

bool = G_ConfigureLine(nLineType, rvLineStyle)

Return Value

bool

Parameters

nLineType

nLineType is one of the following values:

Value Meaning
PS_DASH  
PS_DOT  
PS_DASHDOT  
PS_DASHDOTDOT  
rvLineStyle

rvLineStyle is a vector wit 2 to 16 elements. Positive values specify the length of a line in 0.1 mm steps. Negative values specify the length of a gap in 0.1 mm steps. The valid range for a line is 0 to 500 and for a gap 0 to 250. The first element must be a line. A line element must be followed by a gap and vice versa.

Example

The startup file contains the following four calls with the default settings.

G_ConfigureLine(PS_DASH, [30, -4]);
G_ConfigureLine(PS_DOT, [4, -4]);
G_ConfigureLine(PS_DASHDOT, [40, -4, 5, -4]);
G_ConfigureLine(PS_DASHDOTDOT, [40, -4, 5, -4, 5, -4]);

See also

loadlib

id-1291773