SetFillShaderA

Vector graphics, Path definition and drawing, Color

Description

O sufixo A indica o ponto de entrada ANSI (char) da DLL; a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de SetFillShader e os argumentos de cadeia de caracteres são interpretados com base na página de código atual definida por SetAnsiMode

Sets the fill to the specified shader for subsequently drawn graphics.

Syntax

Delphi

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

DLL

int DLSetFillShaderA(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 fill was setup correctly