Tesseract 3.01
/data/source/tesseract-ocr/textord/drawedg.cpp File Reference
#include "mfcpch.h"
#include "drawedg.h"

Defines

#define IMAGE_WIN_NAME   "Edges"
#define IMAGE_XPOS   250
#define IMAGE_YPOS   0
#define EXTERN

Functions

create_edges_window

Create the edges window.

Parameters:
page_trsize of image
ScrollViewcreate_edges_window (ICOORD page_tr)
draw_raw_edge

Draw the raw steps to the given window in the given colour.

Parameters:
fdwindow to draw in
startstart of loop
colourcolour to draw in
void draw_raw_edge (ScrollView *fd, CRACKEDGE *start, ScrollView::Color colour)

Define Documentation

#define EXTERN
#define IMAGE_WIN_NAME   "Edges"

title of window

#define IMAGE_XPOS   250
#define IMAGE_YPOS   0

default position


Function Documentation

ScrollView* create_edges_window ( ICOORD  page_tr)
void draw_raw_edge ( ScrollView fd,
CRACKEDGE start,
ScrollView::Color  colour 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines