Sign in Join
FPDoc Onlineexperiment

gpm_pushroi function

In unit gpm

Push region of interest on the stack.

Declaration

pascal
function gpm_pushroi(x1: LongInt; y1: LongInt; x2: LongInt; 
 y2: LongInt; mask: LongInt; fun: TGpmHandler; 
 xtradata: pointer): Pgpm_roi

Description

Gpm_PushRoi puts a new region of interest on the stack. The region of interest is defined by a rectangle described by the corners (X1,Y1) and (X2,Y2).

The mask describes which events the handler {fun} will handle; ExtraData will be put in the xtradata field of the {TGPM_Roi} record passed to the fun handler.

Errors

None.

See also

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