tesseract 4.1.1
|
#include "polyaprx.h"
#include <cstdint>
#include "blobs.h"
#include "coutln.h"
#include "errcode.h"
#include "mod128.h"
#include "params.h"
#include "points.h"
#include "rect.h"
#include "tprintf.h"
Go to the source code of this file.
Macros | |
#define | FASTEDGELENGTH 256 |
#define | FIXED 4 /*OUTLINE point is fixed */ |
#define | RUNLENGTH 1 /*length of run */ |
#define | DIR 2 /*direction of run */ |
#define | FLAGS 0 |
#define | fixed_dist 20 |
#define | approx_dist 15 |
Functions | |
TESSLINE * | ApproximateOutline (bool allow_detailed_fx, C_OUTLINE *c_outline) |
EDGEPT * | edgesteps_to_edgepts (C_OUTLINE *c_outline, EDGEPT edgepts[]) |
void | fix2 (EDGEPT *start, int area) |
EDGEPT * | poly2 (EDGEPT *startpt, int area) |
void | cutline (EDGEPT *first, EDGEPT *last, int area) |
Variables | |
const int | par1 = 4500 / (approx_dist * approx_dist) |
const int | par2 = 6750 / (approx_dist * approx_dist) |
#define approx_dist 15 |
Definition at line 45 of file polyaprx.cpp.
#define DIR 2 /*direction of run */ |
Definition at line 40 of file polyaprx.cpp.
#define FASTEDGELENGTH 256 |
Definition at line 30 of file polyaprx.cpp.
#define FIXED 4 /*OUTLINE point is fixed */ |
Definition at line 36 of file polyaprx.cpp.
#define fixed_dist 20 |
Definition at line 44 of file polyaprx.cpp.
#define FLAGS 0 |
Definition at line 42 of file polyaprx.cpp.
#define RUNLENGTH 1 /*length of run */ |
Definition at line 38 of file polyaprx.cpp.
Definition at line 61 of file polyaprx.cpp.
Definition at line 498 of file polyaprx.cpp.
Definition at line 116 of file polyaprx.cpp.
void fix2 | ( | EDGEPT * | start, |
int | area | ||
) |
Definition at line 215 of file polyaprx.cpp.
Definition at line 400 of file polyaprx.cpp.
const int par1 = 4500 / (approx_dist * approx_dist) |
Definition at line 47 of file polyaprx.cpp.
const int par2 = 6750 / (approx_dist * approx_dist) |
Definition at line 48 of file polyaprx.cpp.