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 για τα γραφικά που σχεδιάζονται στη συνέχεια
Syntax
Delphi
Function DLSetFillShaderA(InstanceID: Integer; ShaderName: PAnsiChar): Integer;
DLL
int DLSetFillShaderA(int InstanceID, const char * ShaderName);
Parameters
| ShaderName | Το όνομα shader που χρησιμοποιήθηκε όταν δημιουργήθηκε το shader |
|---|
Τιμές επιστροφής
| 0 | Το shader δεν μπόρεσε να βρεθεί |
|---|---|
| 1 | Το γέμισμα shader ρυθμίστηκε σωστά |