Sign in Join
FPDoc Onlineexperiment

TLazRegion.DoChangeToComplexRegion procedure

Member of TLazRegionpublicIn unit LazRegions

Adds the value in Rect to the Parts member, and resets the value in IsSimpleRectRegion.

Declaration

pascal
procedure DoChangeToComplexRegion

Description

DoChangeToComplexRegion is a procedure used to change the region from a simple rectangle to a complex region as defined in the Parts member. DoChangeToComplexRegion uses the values from IsSimpleRectRegion and IsSimpleRectEmpty to determine if any actions are required in the method. No actions are performed when IsSimpleRectRegion is False, or when IsSimpleRectEmpty returns True.

DoChangeToComplexRegion changes the value in IsSimpleRectRegion to False, and calls AddRectangle to store the value in Rect in the Parts member.

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