summaryrefslogtreecommitdiff
path: root/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h')
-rw-r--r--fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h b/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h
index 43906d8821..badb0ce3cd 100644
--- a/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h
+++ b/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h
@@ -14,24 +14,21 @@ class CBC_BarcodeRow;
class CBC_BarcodeMatrix {
public:
- CBC_BarcodeMatrix();
- CBC_BarcodeMatrix(int32_t height, int32_t width);
+ CBC_BarcodeMatrix(size_t height, size_t width);
virtual ~CBC_BarcodeMatrix();
CBC_BarcodeRow* getCurrentRow() const { return m_matrix[m_currentRow].get(); }
- int32_t getWidth() const { return m_outWidth; }
- int32_t getHeight() const { return m_outHeight; }
+ size_t getWidth() const { return m_width; }
+ size_t getHeight() const { return m_height; }
void nextRow();
std::vector<uint8_t>& getMatrix();
private:
std::vector<std::unique_ptr<CBC_BarcodeRow>> m_matrix;
std::vector<uint8_t> m_matrixOut;
- int32_t m_currentRow;
- int32_t m_height;
- int32_t m_width;
- int32_t m_outWidth;
- int32_t m_outHeight;
+ size_t m_currentRow = 0;
+ size_t m_width;
+ size_t m_height;
};
#endif // FXBARCODE_PDF417_BC_PDF417BARCODEMATRIX_H_