Sign in Join
FPDoc Onlineexperiment

CreatePolygonRgn function

In unit LCLIntf

Creates a polygonal region.

Declaration

pascal
function CreatePolygonRgn(Points: PPoint; NumPts: Integer; 
 FillMode: Integer): HRGN

Arguments

Points

The array of points.

NumPts

The number of points in Points.

FillMode

Can be ALTERNATE or WINDING.

Function result

The region Handle, zero on failure.

Description

The last point in Points is connected to the first point to close the region.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.