30 #define NORMAL_X_HEIGHT (0.5) 31 #define NORMAL_BASELINE (0.0) 60 #define AverageOf(A,B) (((A) + (B)) / 2) 63 #define MF_SCALE_FACTOR (NORMAL_X_HEIGHT / kBlnXHeight) 66 #define DegenerateOutline(O) (((O) == NIL_LIST) || ((O) == list_rest(O))) 67 #define PointAt(O) ((MFEDGEPT *) first_node (O)) 68 #define NextPointAfter(E) (list_rest (E)) 69 #define MakeOutlineCircular(O) (set_rest (last (O), (O))) 72 #define ClearMark(P) ((P)->ExtremityMark = FALSE) 73 #define MarkPoint(P) ((P)->ExtremityMark = TRUE) 85 LIST ConvertedOutlines,
void FilterEdgeNoise(MFOUTLINE Outline, FLOAT32 NoiseSegmentLength)
LIST ConvertBlob(TBLOB *Blob)
MFOUTLINE ConvertOutline(TESSLINE *Outline)
void ComputeBlobCenter(TBLOB *Blob, TPOINT *BlobCenter)
LIST ConvertOutlines(TESSLINE *Outline, LIST ConvertedOutlines, OUTLINETYPE OutlineType)
void CharNormalizeOutline(MFOUTLINE Outline, const DENORM &cn_denorm)
void FreeMFOutline(void *agr)
MFOUTLINE NextExtremity(MFOUTLINE EdgePoint)
MFEDGEPT * NewEdgePoint()
void NormalizeOutline(MFOUTLINE Outline, FLOAT32 XOrigin)
void MarkDirectionChanges(MFOUTLINE Outline)
void ChangeDirection(MFOUTLINE Start, MFOUTLINE End, DIRECTION Direction)
void FindDirectionChanges(MFOUTLINE Outline, FLOAT32 MinSlope, FLOAT32 MaxSlope)
MFOUTLINE NextDirectionChange(MFOUTLINE EdgePoint)
void ComputeDirection(MFEDGEPT *Start, MFEDGEPT *Finish, FLOAT32 MinSlope, FLOAT32 MaxSlope)
void FreeOutlines(LIST Outlines)
DIRECTION PreviousDirection