File tree 6 files changed +20
-49
lines changed
6 files changed +20
-49
lines changed Original file line number Diff line number Diff line change 12
12
13
13
pkginclude_HEADERS = publictypes.h
14
14
noinst_HEADERS = \
15
- blamer.h blckerr.h blobbox.h blobs.h blread.h boxread.h boxword.h ccstruct.h coutln.h crakedge.h \
15
+ blamer.h blobbox.h blobs.h blread.h boxread.h boxword.h \
16
+ ccstruct.h coutln.h crakedge.h \
16
17
debugpixa.h detlinefit.h dppoint.h fontinfo.h genblob.h \
17
18
imagedata.h \
18
19
ipoints.h \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
/* *********************************************************************
2
2
* File: ocrblock.cpp (Formerly block.c)
3
3
* Description: BLOCK member functions and iterator functions.
4
- * Author: Ray Smith
5
- * Created: Fri Mar 15 09:41:28 GMT 1991
4
+ * Author: Ray Smith
5
+ * Created: Fri Mar 15 09:41:28 GMT 1991
6
6
*
7
7
* (C) Copyright 1991, Hewlett-Packard Ltd.
8
8
** Licensed under the Apache License, Version 2.0 (the "License");
20
20
#include " ocrblock.h"
21
21
#include < cstdlib>
22
22
#include < memory> // std::unique_ptr
23
- #include " blckerr.h"
24
23
#include " stepblob.h"
25
24
#include " tprintf.h"
26
25
Original file line number Diff line number Diff line change 1
1
/* *********************************************************************
2
- * File: pdblock.cpp (Formerly pdblk.c)
2
+ * File: pdblock.cpp
3
3
* Description: PDBLK member functions and iterator functions.
4
- * Author: Ray Smith
5
- * Created: Fri Mar 15 09:41:28 GMT 1991
4
+ * Author: Ray Smith
5
+ * Created: Fri Mar 15 09:41:28 GMT 1991
6
6
*
7
7
* (C) Copyright 1991, Hewlett-Packard Ltd.
8
8
** Licensed under the Apache License, Version 2.0 (the "License");
21
21
#include < cstdlib>
22
22
#include < memory> // std::unique_ptr
23
23
#include " allheaders.h"
24
- #include " blckerr.h"
25
24
26
25
// Include automatically generated configuration file if running autoconf.
27
26
#ifdef HAVE_CONFIG_H
30
29
31
30
#define BLOCK_LABEL_HEIGHT 150 // char height of block id
32
31
32
+ const ERRCODE BADBLOCKLINE = " Y coordinate in block out of bounds" ;
33
+ const ERRCODE LOSTBLOCKLINE = " Can't find rectangle for line" ;
34
+
33
35
CLISTIZE (PDBLK)
34
36
/* *********************************************************************
35
37
* PDBLK::PDBLK
Original file line number Diff line number Diff line change 17
17
*
18
18
**********************************************************************/
19
19
20
- #include " blckerr.h"
21
20
#include " helpers.h"
22
21
#include " linlsq.h"
23
22
#include " werd.h"
Original file line number Diff line number Diff line change 1
1
/* *********************************************************************
2
- * File: word .h
2
+ * File: werd .h
3
3
* Description: Code for the WERD class.
4
- * Author: Ray Smith
5
- * Created: Tue Oct 08 14:32:12 BST 1991
4
+ * Author: Ray Smith
5
+ * Created: Tue Oct 08 14:32:12 BST 1991
6
6
*
7
7
* (C) Copyright 1991, Hewlett-Packard Ltd.
8
8
** Licensed under the Apache License, Version 2.0 (the "License");
17
17
*
18
18
**********************************************************************/
19
19
20
- #ifndef WERD_H
21
- #define WERD_H
20
+ #ifndef WERD_H
21
+ #define WERD_H
22
22
23
- #include " params.h"
24
- #include " bits16.h"
25
- #include " elst2.h"
26
- #include " strngs.h"
27
- #include " blckerr.h"
28
- #include " stepblob.h"
23
+ #include " params.h"
24
+ #include " bits16.h"
25
+ #include " elst2.h"
26
+ #include " strngs.h"
27
+ #include " stepblob.h"
29
28
30
29
enum WERD_FLAGS
31
30
{
You can’t perform that action at this time.
0 commit comments