Index: xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
diff --git a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
index f3ac77a9c0498275581e2e22f415f81a00fa30b1..427d7b85ca21d6a4aec421915d5a99c9a0d31627 100644 |
--- a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
+++ b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
@@ -14,18 +14,19 @@ class CBC_ResultPoint; |
class CBC_WhiteRectangleDetector { |
public: |
- CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); |
+ explicit CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); |
CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image, |
int32_t initSize, |
int32_t x, |
int32_t y); |
virtual ~CBC_WhiteRectangleDetector(); |
+ |
virtual void Init(int32_t& e); |
CFX_ArrayTemplate<CBC_ResultPoint*>* Detect(int32_t& e); |
private: |
- int32_t Round(float d); |
+ int32_t Round(FX_FLOAT d); |
CBC_ResultPoint* GetBlackPointOnSegment(FX_FLOAT aX, |
FX_FLOAT aY, |
FX_FLOAT bX, |