mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-30 23:49:05 +08:00
Use TDimension for arguments of make_edgept
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
6c7cfe41cc
commit
183bb3f519
@ -135,7 +135,7 @@ bool SPLIT::IsLittleChunk(int min_points, int min_area) const {
|
||||
*
|
||||
* Create an EDGEPT and hook it into an existing list of edge points.
|
||||
**********************************************************************/
|
||||
EDGEPT *make_edgept(int x, int y, EDGEPT *next, EDGEPT *prev) {
|
||||
EDGEPT *make_edgept(TDimension x, TDimension y, EDGEPT *next, EDGEPT *prev) {
|
||||
EDGEPT *this_edgept;
|
||||
/* Create point */
|
||||
this_edgept = new EDGEPT;
|
||||
|
@ -116,7 +116,7 @@ extern BOOL_VAR_H(wordrec_display_splits);
|
||||
/*----------------------------------------------------------------------
|
||||
F u n c t i o n s
|
||||
----------------------------------------------------------------------*/
|
||||
EDGEPT *make_edgept(int x, int y, EDGEPT *next, EDGEPT *prev);
|
||||
EDGEPT *make_edgept(TDimension x, TDimension y, EDGEPT *next, EDGEPT *prev);
|
||||
|
||||
void remove_edgept(EDGEPT *point);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user