tesseract  5.0.0
plotedges.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * File: plotedges.h
4  * Description: Convert the various data type into line lists
5  * Author: Mark Seaman, OCR Technology
6  *
7  * (c) Copyright 1989, Hewlett-Packard Company.
8  ** Licensed under the Apache License, Version 2.0 (the "License");
9  ** you may not use this file except in compliance with the License.
10  ** You may obtain a copy of the License at
11  ** http://www.apache.org/licenses/LICENSE-2.0
12  ** Unless required by applicable law or agreed to in writing, software
13  ** distributed under the License is distributed on an "AS IS" BASIS,
14  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  ** See the License for the specific language governing permissions and
16  ** limitations under the License.
17  *
18  *****************************************************************************/
19 
20 #ifndef PLOTEDGES_H
21 #define PLOTEDGES_H
22 
23 #include "oldlist.h" // for LIST
24 
25 namespace tesseract {
26 
27 class ScrollView;
28 
29 struct EDGEPT;
30 struct TBLOB;
31 
32 /*----------------------------------------------------------------------
33  V a r i a b l e s
34 ----------------------------------------------------------------------*/
35 extern ScrollView *edge_window; /* Window for edges */
36 
37 /*----------------------------------------------------------------------
38  F u n c t i o n s
39 ---------------------------------------------------------------------*/
40 void display_edgepts(LIST outlines);
41 
42 void draw_blob_edges(TBLOB *blob);
43 
44 void mark_outline(EDGEPT *edgept);
45 
46 } // namespace tesseract
47 
48 #endif
void mark_outline(EDGEPT *edgept)
Definition: plotedges.cpp:83
list_rec * LIST
Definition: oldlist.h:125
ScrollView * edge_window
Definition: plotedges.cpp:37
void display_edgepts(LIST outlines)
Definition: plotedges.cpp:47
void draw_blob_edges(TBLOB *blob)
Definition: plotedges.cpp:67