tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
drawedg.h
1 /**********************************************************************
2  * File: drawedg.h (Formerly drawedge.h)
3  * Description: Collection of functions to draw things to do with edge
4  *detection.
5  * Author: Ray Smith
6  * Created: Thu Jun 06 13:29:20 BST 1991
7  *
8  * (C) Copyright 1991, Hewlett-Packard Ltd.
9  ** Licensed under the Apache License, Version 2.0 (the "License");
10  ** you may not use this file except in compliance with the License.
11  ** You may obtain a copy of the License at
12  ** http://www.apache.org/licenses/LICENSE-2.0
13  ** Unless required by applicable law or agreed to in writing, software
14  ** distributed under the License is distributed on an "AS IS" BASIS,
15  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  ** See the License for the specific language governing permissions and
17  ** limitations under the License.
18  *
19  **********************************************************************/
20 
21 #ifndef DRAWEDG_H
22 #define DRAWEDG_H
23 #ifndef GRAPHICS_DISABLED
24 
25 #include "scrollview.h"
26 #include "crakedge.h"
27 
28 ScrollView* create_edges_window( //make window
29  ICOORD page_tr //size of image
30  );
31 void draw_raw_edge( //draw the cracks
32  ScrollView* fd, //window to draw in
33  CRACKEDGE *start, //start of loop
34  ScrollView::Color colour //colour to draw in
35  );
36 #endif
37 #endif
Color
Definition: scrollview.h:105
Definition: scrollview.h:102
Definition: crakedge.h:26
integer coordinate
Definition: points.h:32