![]() |
![]() |
![]() |
WritRecogn Reference Manual | ![]() |
---|---|---|---|---|
#define rawStrokeNode_get_coordinate2D (node) gfloat rawStrokeNode_distance (RawStrokeNode *node1, RawStrokeNode *node2); gfloat rawStrokeNode_distance_fromLine (RawStrokeNode *targetNode, RawStrokeNode *startNode, RawStrokeNode *endNode); void boundingBox_add_rawStrokeNode (BoundingBox *box, RawStrokeNode *node); #define WRITRECOGN_RAWSTROKE_CONST (obj) writRecognRawStroke; RawStroke* writrecogn_rawstroke_new (void); guint writrecogn_rawstroke_count_rawStrokeNodes (writRecognRawStroke *self); RawStrokeNode* writrecogn_rawstroke_get_rawStrokeNode (writRecognRawStroke *self, int i); guint writrecogn_rawstroke_add_rawStrokeNode (writRecognRawStroke *self, gint x, gint y); void writrecogn_rawstroke_remove_rawStrokeNode (writRecognRawStroke *self, int i); gfloat writrecogn_rawstroke_sum_length (writRecognRawStroke *self); gfloat writrecogn_rawstroke_rawStrokeNodes_direct_distance (writRecognRawStroke *self, gint startIndex, gint endIndex); gfloat writrecogn_rawstroke_distanceOf_rawStrokeNode (writRecognRawStroke *self, gint startIndex, gint endIndex, gint rawStrokenodeIndex); gint writrecogn_rawstroke_find_farthest_node (writRecognRawStroke *self, int startIndex, int endIndex);
#define rawStrokeNode_get_coordinate2D(node) (Coordinate2D *) node
|
gfloat rawStrokeNode_distance (RawStrokeNode *node1, RawStrokeNode *node2);
|
|
|
|
Returns : |
gfloat rawStrokeNode_distance_fromLine (RawStrokeNode *targetNode, RawStrokeNode *startNode, RawStrokeNode *endNode);
|
|
|
|
|
|
Returns : |
void boundingBox_add_rawStrokeNode (BoundingBox *box, RawStrokeNode *node);
|
|
|
#define WRITRECOGN_RAWSTROKE_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), writrecogn_rawstroke_get_type(), writRecognRawStroke const)
|
guint writrecogn_rawstroke_count_rawStrokeNodes (writRecognRawStroke *self);
|
|
Returns : |
Number of the RawStrokeNodes of the RawStroke |
RawStrokeNode* writrecogn_rawstroke_get_rawStrokeNode (writRecognRawStroke *self, int i);
|
|
|
|
Returns : |
guint writrecogn_rawstroke_add_rawStrokeNode (writRecognRawStroke *self, gint x, gint y);
self
the RawStroke
x
value of coordinate X of the RawStrokeNode.
y
value of coordinate Y of the RawStrokeNode.
|
|
|
|
|
|
Returns : |
void writrecogn_rawstroke_remove_rawStrokeNode (writRecognRawStroke *self, int i);
|
|
|
gfloat writrecogn_rawstroke_sum_length (writRecognRawStroke *self);
self
the RawStroke
return
The sum of the length of each line segment.
|
|
Returns : |
gfloat writrecogn_rawstroke_rawStrokeNodes_direct_distance (writRecognRawStroke *self, gint startIndex, gint endIndex);
|
|
|
|
|
|
Returns : |
gfloat writrecogn_rawstroke_distanceOf_rawStrokeNode (writRecognRawStroke *self, gint startIndex, gint endIndex, gint rawStrokenodeIndex);
|
|
|
|
|
|
|
|
Returns : |
gint writrecogn_rawstroke_find_farthest_node (writRecognRawStroke *self, int startIndex, int endIndex);
|
|
|
|
|
|
Returns : |