#include "chop.h"
#include "olutil.h"
Go to the source code of this file.
|
| void | apply_seam (TBLOB *blob, TBLOB *other_blob, bool italic_blob, SEAM *seam) |
| |
| void | form_two_blobs (TBLOB *blob, TBLOB *other_blob, bool italic_blob, const TPOINT &location) |
| |
| void | make_double_split (TBLOB *blob, TBLOB *other_blob, bool italic_blob, SEAM *seam) |
| |
| void | make_single_split (TESSLINE *outlines, SPLIT *split) |
| |
| void | make_split_blobs (TBLOB *blob, TBLOB *other_blob, bool italic_blob, SEAM *seam) |
| |
| void | make_triple_split (TBLOB *blob, TBLOB *other_blob, bool italic_blob, SEAM *seam) |
| |
| void | undo_seam (TBLOB *blob, TBLOB *other_blob, SEAM *seam) |
| |
| void | undo_single_split (TBLOB *blob, SPLIT *split) |
| |
| #define is_split_outline |
( |
|
outline, |
|
|
|
split |
|
) |
| |
Value:(outline->Contains(split->point1->pos) && \
outline->Contains(split->point2->pos)) \
Definition at line 44 of file makechop.h.
| void apply_seam |
( |
TBLOB * |
blob, |
|
|
TBLOB * |
other_blob, |
|
|
bool |
italic_blob, |
|
|
SEAM * |
seam |
|
) |
| |
Definition at line 52 of file makechop.cpp.
void make_triple_split(TBLOB *blob, TBLOB *other_blob, bool italic_blob, SEAM *seam)
void make_double_split(TBLOB *blob, TBLOB *other_blob, bool italic_blob, SEAM *seam)
void make_split_blobs(TBLOB *blob, TBLOB *other_blob, bool italic_blob, SEAM *seam)
void divide_blobs(TBLOB *blob, TBLOB *other_blob, bool italic_blob, const TPOINT &location)
| void form_two_blobs |
( |
TBLOB * |
blob, |
|
|
TBLOB * |
other_blob, |
|
|
bool |
italic_blob, |
|
|
const TPOINT & |
location |
|
) |
| |
Definition at line 74 of file makechop.cpp.
void eliminate_duplicate_outlines(TBLOB *blob)
void setup_blob_outlines(TBLOB *blob)
void correct_blob_order(TBLOB *blob1, TBLOB *blob2)
void divide_blobs(TBLOB *blob, TBLOB *other_blob, bool italic_blob, const TPOINT &location)
| void make_double_split |
( |
TBLOB * |
blob, |
|
|
TBLOB * |
other_blob, |
|
|
bool |
italic_blob, |
|
|
SEAM * |
seam |
|
) |
| |
Definition at line 93 of file makechop.cpp.
void make_single_split(TESSLINE *outlines, SPLIT *split)
void form_two_blobs(TBLOB *blob, TBLOB *other_blob, bool italic_blob, const TPOINT &location)
Definition at line 107 of file makechop.cpp.
108 assert (outlines !=
NULL);
113 outlines = outlines->
next;
119 outlines = outlines->
next;
void split_outline(EDGEPT *join_point1, EDGEPT *join_point2)
void ComputeBoundingBox()
| void make_split_blobs |
( |
TBLOB * |
blob, |
|
|
TBLOB * |
other_blob, |
|
|
bool |
italic_blob, |
|
|
SEAM * |
seam |
|
) |
| |
Definition at line 135 of file makechop.cpp.
void make_single_split(TESSLINE *outlines, SPLIT *split)
void form_two_blobs(TBLOB *blob, TBLOB *other_blob, bool italic_blob, const TPOINT &location)
| void make_triple_split |
( |
TBLOB * |
blob, |
|
|
TBLOB * |
other_blob, |
|
|
bool |
italic_blob, |
|
|
SEAM * |
seam |
|
) |
| |
Definition at line 151 of file makechop.cpp.
void make_single_split(TESSLINE *outlines, SPLIT *split)
void form_two_blobs(TBLOB *blob, TBLOB *other_blob, bool italic_blob, const TPOINT &location)
Definition at line 168 of file makechop.cpp.
179 while (outline->
next)
180 outline = outline->
next;
void eliminate_duplicate_outlines(TBLOB *blob)
void setup_blob_outlines(TBLOB *blob)
void undo_single_split(TBLOB *blob, SPLIT *split)
| void undo_single_split |
( |
TBLOB * |
blob, |
|
|
SPLIT * |
split |
|
) |
| |
Definition at line 211 of file makechop.cpp.
void unsplit_outlines(EDGEPT *p1, EDGEPT *p2)