ScCommon.h
Go to the documentation of this file.
208 ScQuadrilateralF sc_quadrilateral_float_make(ScPointF tl, ScPointF tr, ScPointF br, ScPointF bl);
223 ScRectangleF sc_rectangle_f_make(float position_x, float position_y, float width, float height);
char const * message
error message. Set to NULL in case there is no error
Definition: ScCommon.h:268
ScPointF top_right
Top right corner of the quadrilateral.
Definition: ScCommon.h:185
ScPointF top_left
Top left corner of the quadrilateral.
Definition: ScCommon.h:181
void sc_image_buffer_free(ScImageBuffer *image)
Frees the data contained in the image.
ScInformationKey
Enumeration of different information strings.
Definition: ScCommon.h:309
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:193
A 2-dimensional polygon with 4 corners described as relative float coordinates.
Definition: ScCommon.h:177
ScPointF position
Upper-left corner of the rectangle.
Definition: ScCommon.h:162
ScPoint bottom_right
Bottom right corner of the quadrilateral.
Definition: ScCommon.h:73
ScPoint top_right
Top right corner of the quadrilateral.
Definition: ScCommon.h:69
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. ...
char const * sc_get_information_string(ScInformationKey key)
Get information string.
ScPointF sc_point_f_make(float x, float y)
Helper function to initialize a point with x, y coordinates.
Definition: ScCommon.h:122
ScPoint sc_point_make(int x, int y)
Helper function to initialize a point with x, y coordinates.
Definition: ScCommon.h:49
Common definitions used throughout the ScanditSDK API.
uint32_t code
error code, 0 if there is no error, a positive value otherwise.
Definition: ScCommon.h:273
ScPoint bottom_left
Bottom left corner of the quadrilateral.
Definition: ScCommon.h:77
the camera automatically adjusts the focus to create a sharp image
Definition: ScCommon.h:245
ScPoint top_left
Top left corner of the quadrilateral.
Definition: ScCommon.h:65
Image description interface.
ScSizeF size
Width and height of the rectangle. Both must larger or equal than zero.
Definition: ScCommon.h:166
ScPointF bottom_right
Bottom right corner of the quadrilateral.
Definition: ScCommon.h:189