×
Menu
Index

GraPathFill

 
 
ยท GraPathFill( [<nFillMode>] ) => The function GraPathFill() fills a graphic path defined by GraPathBegin() / GraPathEnd() with a pattern. The fill pattern must have been previously selected using the function GraSetAttrArea(). After the call to GraPathFill() the definition of the path is discarded.
 
 
Parameters are :
 
<nFillMode>
<nFillMode> specifies the mode for filling. This is significant only with complex paths. Complex paths consist of several, mutual overlapping areas. For this parameter, one of the two #define constants GRA_PATH_FILL_ALTERNATE or GRA_PATH_FILL_WINDING are used. The default value is GRA_PATH_FILL_ALTERNATE.