All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
plotedges.h
Go to the documentation of this file.
1 /* -*-C-*-
2  ********************************************************************************
3  *
4  * File: plotedges.h (Formerly plotedges.h)
5  * Description: Convert the various data type into line lists
6  * Author: Mark Seaman, OCR Technology
7  * Created: Fri Jul 28 13:14:48 1989
8  * Modified: Mon May 13 09:34:51 1991 (Mark Seaman) marks@hpgrlt
9  * Language: C
10  * Package: N/A
11  * Status: Experimental (Do Not Distribute)
12  *
13  * (c) Copyright 1989, Hewlett-Packard Company.
14  ** Licensed under the Apache License, Version 2.0 (the "License");
15  ** you may not use this file except in compliance with the License.
16  ** You may obtain a copy of the License at
17  ** http://www.apache.org/licenses/LICENSE-2.0
18  ** Unless required by applicable law or agreed to in writing, software
19  ** distributed under the License is distributed on an "AS IS" BASIS,
20  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  ** See the License for the specific language governing permissions and
22  ** limitations under the License.
23  *
24  *********************************************************************************/
25 #ifndef PLOTEDGES_H
26 #define PLOTEDGES_H
27 
28 #include "callcpp.h"
29 #include "oldlist.h"
30 #include "blobs.h"
31 
32 /*----------------------------------------------------------------------
33  V a r i a b l e s
34 ----------------------------------------------------------------------*/
35 extern ScrollView *edge_window; /* Window for edges */
36 
37 /*----------------------------------------------------------------------
38  Macros
39 ----------------------------------------------------------------------*/
40 /**********************************************************************
41  * update_edge_window
42  *
43  * Refresh the display of the edge window.
44  **********************************************************************/
45 #define update_edge_window() \
46 if (wordrec_display_splits) { \
47  c_make_current (edge_window); \
48 } \
49 
50 
51 /**********************************************************************
52  * edge_window_wait
53  *
54  * Wait for someone to click in the edges window.
55  **********************************************************************/
56 
57 #define edge_window_wait() \
58 if (wordrec_display_splits) window_wait (edge_window)
59 
60 /*----------------------------------------------------------------------
61  F u n c t i o n s
62 ---------------------------------------------------------------------*/
63 void display_edgepts(LIST outlines);
64 
65 void draw_blob_edges(TBLOB *blob);
66 
67 void mark_outline(EDGEPT *edgept);
68 
69 #endif
Definition: blobs.h:261
void draw_blob_edges(TBLOB *blob)
Definition: plotedges.cpp:77
void display_edgepts(LIST outlines)
Definition: plotedges.cpp:53
ScrollView * edge_window
Definition: plotedges.cpp:43
Definition: blobs.h:76
void mark_outline(EDGEPT *edgept)
Definition: plotedges.cpp:95