HPDFLocateDataMatrixQuadrilateral
Unit: HPDFDataMatrixGeometry
function HPDFLocateDataMatrixQuadrilateral(const Mask: TBytes;
Width, Height: Integer; CancellationToken: THPDFCancellationToken;
StartTick: Cardinal; out Corners: THPDFBarcodeQuadrilateral): Boolean;
Derive a convex foreground hull and recover four projected edges from a byte-per-pixel binary mask
Nonzero mask values mean foreground; Width and Height are at most 4,096, with at most 4,194,304 pixels and exactly Width times Height mask bytes
StartTick is the request start from Windows GetTickCount; the geometry work shares a 2,000-millisecond deadline and checks cancellation; invalid or ambiguous geometry returns false