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 ρυθμίστηκε σωστά