Sign in Join
FPDoc Onlineexperiment

LazRegions unit

Implements non-native regions with support for managing their Z-order.

lazregions.pas contains classes, types, and routines used to implement clipping regions in TLazCanvas, and regions used in custom-drawn LCL controls.

Author: Felipe Monteiro de Carvalho

Classes and records

TLazRegionclassRepresents a custom region in the Lazarus LCL.
TLazRegionEllipseclassImplements a region defined as an Ellipse.
TLazRegionPartclassBase class used for rectangular areas in a region.
TLazRegionPolygonclassRepresents a region defined as a series of vertices for a polygon.
TLazRegionRectclassImplements a region defined by a TRect structure.
TLazRegionWithChildsclassImplement a region which can have other regions as children.

Procedures and functions

IsPointInPolygonfunctionDetermines if the specified point is inside the vertices for the specified polygon.

Types

TLazRegionFillModeenumerationRepresents region fill modes used for polygons in Lazarus regions.
TPointArraytypeDefines an array type used for TPoint values.

Uses

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