| Index: xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
|
| diff --git a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
|
| index d713d0fa991d33f4a786fbd1c98bc494c69dea65..f3ac77a9c0498275581e2e22f415f81a00fa30b1 100644
|
| --- a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
|
| +++ b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h
|
| @@ -20,9 +20,10 @@ class CBC_WhiteRectangleDetector {
|
| int32_t x,
|
| int32_t y);
|
| virtual ~CBC_WhiteRectangleDetector();
|
| - CFX_PtrArray* Detect(int32_t& e);
|
| virtual void Init(int32_t& e);
|
|
|
| + CFX_ArrayTemplate<CBC_ResultPoint*>* Detect(int32_t& e);
|
| +
|
| private:
|
| int32_t Round(float d);
|
| CBC_ResultPoint* GetBlackPointOnSegment(FX_FLOAT aX,
|
| @@ -30,10 +31,11 @@ class CBC_WhiteRectangleDetector {
|
| FX_FLOAT bX,
|
| FX_FLOAT bY);
|
| int32_t DistanceL2(FX_FLOAT aX, FX_FLOAT aY, FX_FLOAT bX, FX_FLOAT bY);
|
| - CFX_PtrArray* CenterEdges(CBC_ResultPoint* y,
|
| - CBC_ResultPoint* z,
|
| - CBC_ResultPoint* x,
|
| - CBC_ResultPoint* t);
|
| + CFX_ArrayTemplate<CBC_ResultPoint*>* CenterEdges(CBC_ResultPoint* y,
|
| + CBC_ResultPoint* z,
|
| + CBC_ResultPoint* x,
|
| + CBC_ResultPoint* t) const;
|
| +
|
| FX_BOOL ContainsBlackPoint(int32_t a,
|
| int32_t b,
|
| int32_t fixed,
|
|
|