Tesseract 3.01
/data/source/tesseract-ocr/ccstruct/werd.cpp File Reference
#include "mfcpch.h"
#include "blckerr.h"
#include "helpers.h"
#include "linlsq.h"
#include "werd.h"

Defines

#define FIRST_COLOUR   ScrollView::RED
#define LAST_COLOUR   ScrollView::AQUAMARINE
#define CHILD_COLOUR   ScrollView::BROWN

Functions

int word_comparator (const void *word1p, const void *word2p)

Variables

const ERRCODE CANT_SCALE_EDGESTEPS = "Attempted to scale an edgestep format word"

Define Documentation

#define CHILD_COLOUR   ScrollView::BROWN
#define FIRST_COLOUR   ScrollView::RED
#define LAST_COLOUR   ScrollView::AQUAMARINE

Function Documentation

int word_comparator ( const void *  word1p,
const void *  word2p 
)

word_comparator()

word comparator used to sort a word list so that words are in increasing order of left edge.


Variable Documentation

const ERRCODE CANT_SCALE_EDGESTEPS = "Attempted to scale an edgestep format word"
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines