REGMARKS

Delphi Syntax:

REGMARKS= Packed Record
   uType: L_UINT;
   uWidth: L_UINT;
   uHeight: L_UINT;
   uMinScale: L_UINT;
   uMaxScale: L_UINT;
   rcRect: TRECT;
   uSearchMarkCount: L_UINT;
   pMarkDetectedPoints: pPOINT;
   uMarkDetectedCount: L_UINT;
end;

C++ Builder Syntax:

struct REGMARKS
{
   L_UINT uType;
   L_UINT uWidth;
   L_UINT uHeight;
   L_UINT uMinScale;
   L_UINT uMaxScale;
   TRect   rcRect;
   L_UINT uSearchMarkCount;
   PPOINT pMarkDetectedPoints;
   L_UINT uMarkDetectedCount;
};

The REGMARKS record (structure) provides registration marks search information to the SearchRegMarks method. The SearchRegMarks method also stores information in this record (structure) about the registration marks that it finds.

Member

Description

uType

Registration mark type. Possible values are:

 

Value

Meaning

 

RGS_T

[$0000] T-shape registration mark.

 

Currently, only one registration mark is defined (T-shape).

uWidth

Registration mark width, in pixels.

uHeight

Registration mark height, in pixels.

uMinScale

Minimum registration mark scale to be detected. This is a percentage. It must not exceed uMaxScale.

uMaxScale

Maximum registration mark scale to be detected. This is a percentage. It must not be lower than uMinScale.

rcRect

The area to be searched for registration marks (in pixels).

uSearchMarksCount

Number of registration marks expected inside the search area.

pMarkDetectedPoints

Pointer to an array to be filled with the location points of the detected registration marks. SearchRegMarks will fill the first uMarkDetectedCount elements in this array.

uMarkDetectedCount

Number of detected registration marks inside the search area. This variable will be updated by the SearchRegMarks method. This tells how many elements of the pMarkDetectedPoints array will be filled.