SetLineShaderA

Vector graphics, Path definition and drawing, Colour

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetLineShader and string arguments are interpreted using the current SetAnsiMode code page

Sets the outline colour to the specified shader for subsequently drawn graphics.

Syntax

Delphi

Function DLSetLineShaderA(InstanceID: Integer; ShaderName: PAnsiChar): Integer;

DLL

int DLSetLineShaderA(int InstanceID, const char * ShaderName);

Parameters

ShaderNameThe shader name that was used when the shader was created.

Return values

0The shader could not be found
1The shader outline was setup correctly