Deprecation warning
Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.
We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.
You'll find the updated documentation at: Data Capture SDK Documentation for Android
Public Member Functions | |
ScQuadrilateralF | sc_quadrilateral_float_make (ScPointF tl, ScPointF tr, ScPointF br, ScPointF bl) |
Data Fields | |
ScPointF | top_left |
ScPointF | top_right |
ScPointF | bottom_right |
ScPointF | bottom_left |
Detailed Description
A 2-dimensional polygon with 4 corners described as relative float coordinates.
The quadrilateral is defined by the coordinates of each of its corners. Values are relative to the size of the image and must be positive.
- Since
- 5.19.0
Member Function Documentation
ScQuadrilateralF sc_quadrilateral_float_make | ( | ScPointF | tl, |
ScPointF | tr, | ||
ScPointF | br, | ||
ScPointF | bl | ||
) |
Helper function to initialize a quadrilateral with float precision and 4 corners.
- Parameters
-
tl Top-left corner. tr Top-right corner. br Bottom-right corner. bl Bottom-left corner.
- Returns
- The created quadrilateral.
The documentation for this struct was generated from the following file: