comparison mupdf-source/thirdparty/tesseract/src/wordrec/plotedges.h @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
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