MaskExtents

Declaration: MaskExtents(Mask: integer; var Extents: TRect): integer;
Retrieves the circumscribing rectangle of the mask specified by the parameter Mask. The circumscribing rectangle is returned in the parameter Extents.

The function returns the following error codes:

 0 .... everything OK
-1 ... specified mask does not exist


Last Update: 2016-Aug-16