SetFillShaderA
Vector graphics, Path definition and drawing, Color
תיאור
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetFillShader and string arguments are interpreted using the current SetAnsiMode code page
מגדיר את המילוי ל-shader המצוין עבור הגרפיקה שתצויר לאחר מכן
תחביר
Delphi
Function DLSetFillShaderA(InstanceID: Integer; ShaderName: PAnsiChar): Integer;
DLL
int DLSetFillShaderA(int InstanceID, const char * ShaderName);
פרמטרים
| ShaderName | The shader name that was used when the shader was created. |
|---|
ערכי החזרה
| 0 | The shader could not be found |
|---|---|
| 1 | The shader fill was setup correctly |