Unicode Controls & Classes for VB6 - Version 4

clsGpGraphics.FillPolygon Function

Uses a brush to fill the interior of a polygon created by a pointer to an array of POINTF structs (a struct where x and y are single)

Syntax
Public Function FillPolygon (ByRef oBr As clsGpBrush, _
ByVal lpPointsF As Long, _
ByVal Count As Long, _
ByVal FillMd As GpFillMode) As GpStatus
Parameters
Parameter Description
ByRef oBr As clsGpBrush The brush to use
ByVal lpPointsF As Long The pointer of the array of POINTF to use for drawing the polygon (use 'ByVal VarPtr YourArray(0)') as parameter
ByVal Count As Long The number of points passed
ByVal FillMd As GpFillMode The filling mode
Remarks