writRecognRawStroke

writRecognRawStroke

Synopsis



#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);

Object Hierarchy

  GObject
   +----writRecognRadical
         +----writRecognRawStroke

Description

Details

rawStrokeNode_get_coordinate2D()

#define rawStrokeNode_get_coordinate2D(node) (Coordinate2D *) node

node :


rawStrokeNode_distance ()

gfloat              rawStrokeNode_distance              (RawStrokeNode *node1,
                                                         RawStrokeNode *node2);

node1 :

node2 :

Returns :


rawStrokeNode_distance_fromLine ()

gfloat              rawStrokeNode_distance_fromLine     (RawStrokeNode *targetNode,
                                                         RawStrokeNode *startNode,
                                                         RawStrokeNode *endNode);

targetNode :

startNode :

endNode :

Returns :


boundingBox_add_rawStrokeNode ()

void                boundingBox_add_rawStrokeNode       (BoundingBox *box,
                                                         RawStrokeNode *node);

box :

node :


WRITRECOGN_RAWSTROKE_CONST()

#define WRITRECOGN_RAWSTROKE_CONST(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), writrecogn_rawstroke_get_type(), writRecognRawStroke const)

obj :


writRecognRawStroke

typedef struct _writRecognRawStroke writRecognRawStroke;


writrecogn_rawstroke_new ()

RawStroke*          writrecogn_rawstroke_new            (void);

Returns :


writrecogn_rawstroke_count_rawStrokeNodes ()

guint               writrecogn_rawstroke_count_rawStrokeNodes
                                                        (writRecognRawStroke *self);

self :

Returns :

Number of the RawStrokeNodes of the RawStroke

writrecogn_rawstroke_get_rawStrokeNode ()

RawStrokeNode*      writrecogn_rawstroke_get_rawStrokeNode
                                                        (writRecognRawStroke *self,
                                                         int i);

self :

i :

Returns :


writrecogn_rawstroke_add_rawStrokeNode ()

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.

self :

x :

y :

Returns :


writrecogn_rawstroke_remove_rawStrokeNode ()

void                writrecogn_rawstroke_remove_rawStrokeNode
                                                        (writRecognRawStroke *self,
                                                         int i);

self :

i :


writrecogn_rawstroke_sum_length ()

gfloat              writrecogn_rawstroke_sum_length     (writRecognRawStroke *self);

self the RawStroke return The sum of the length of each line segment.

self :

Returns :


writrecogn_rawstroke_rawStrokeNodes_direct_distance ()

gfloat              writrecogn_rawstroke_rawStrokeNodes_direct_distance
                                                        (writRecognRawStroke *self,
                                                         gint startIndex,
                                                         gint endIndex);

self :

startIndex :

endIndex :

Returns :


writrecogn_rawstroke_distanceOf_rawStrokeNode ()

gfloat              writrecogn_rawstroke_distanceOf_rawStrokeNode
                                                        (writRecognRawStroke *self,
                                                         gint startIndex,
                                                         gint endIndex,
                                                         gint rawStrokenodeIndex);

self :

startIndex :

endIndex :

rawStrokenodeIndex :

Returns :


writrecogn_rawstroke_find_farthest_node ()

gint                writrecogn_rawstroke_find_farthest_node
                                                        (writRecognRawStroke *self,
                                                         int startIndex,
                                                         int endIndex);

self :

startIndex :

endIndex :

Returns :