ScCommon.h
Go to the documentation of this file.
ScPointF top_right
Top right corner of the quadrilateral.
Definition: ScCommon.h:189
ScPointF top_left
Top left corner of the quadrilateral.
Definition: ScCommon.h:185
const char * message
error message. Set to NULL in case there is no error
Definition: ScCommon.h:272
ScInformationKey
Enumeration of different information strings.
Definition: ScCommon.h:314
ScQuadrilateral sc_quadrilateral_make(ScPoint tl, ScPoint tr, ScPoint br, ScPoint bl)
Helper function to initialize a quadrilateral with 4 corners.
ScPointF bottom_left
Bottom left corner of the quadrilateral.
Definition: ScCommon.h:197
A 2-dimensional polygon with 4 corners described as relative float coordinates.
Definition: ScCommon.h:181
ScPointF position
Upper-left corner of the rectangle.
Definition: ScCommon.h:166
ScPoint bottom_right
Bottom right corner of the quadrilateral.
Definition: ScCommon.h:77
ScPoint top_right
Top right corner of the quadrilateral.
Definition: ScCommon.h:73
Describes dimensions as well as internal memory layout of an image buffer.
ScPointF sc_rectangle_f_get_center(ScRectangleF rectangle)
Calculates and returns the center of the rectangle.
ScRectangleF sc_rectangle_f_make(float position_x, float position_y, float width, float height)
Helper function to initialize a rectangle.
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. ...
ScPointF sc_point_f_make(float x, float y)
Helper function to initialize a point with x, y coordinates.
Definition: ScCommon.h:126
ScPoint sc_point_make(int x, int y)
Helper function to initialize a point with x, y coordinates.
Definition: ScCommon.h:52
Common definitions used throughout the ScanditSDK API.
const char * sc_get_information_string(ScInformationKey key)
Get information string.
uint32_t code
error code, 0 if there is no error, a positive value otherwise.
Definition: ScCommon.h:277
ScPoint bottom_left
Bottom left corner of the quadrilateral.
Definition: ScCommon.h:81
the camera automatically adjusts the focus to create a sharp image
Definition: ScCommon.h:251
void sc_image_buffer_free(ScImageBuffer *image)
Frees the data contained in the image.
ScPoint top_left
Top left corner of the quadrilateral.
Definition: ScCommon.h:69
Image Description interface.
ScSizeF size
Width and height of the rectangle. Both must larger or equal than zero.
Definition: ScCommon.h:170
ScPointF bottom_right
Bottom right corner of the quadrilateral.
Definition: ScCommon.h:193