Tesseract 3.02

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
svshowim.h
Go to the documentation of this file.
1 // Copyright 2006 Google Inc. All Rights Reserved.
2 // Author: <rays@google.com> (Ray Smith)
3 //
4
5 #ifndef OCR_TESSERACT_SVSHOWIM_H__
6 #define OCR_TESSERACT_SVSHOWIM_H__
7
8 #include "host.h"
9 #include "img.h"
10
11 class ScrollView;
12
13 // Override of a tesseract function to display an image in a window.
14 // This function redirects the display to ScrollView instead of the
15 // stubbed-out functions in tesseract.
16 void sv_show_sub_image(IMAGE* source, // Image to show.
17 inT32 xstart, // Bottom-left coords.
18 inT32 ystart,
19 inT32 xext, // Size of rectangle to show.
20 inT32 yext,
21 ScrollView* win, // Window to draw in.
22 inT32 xpos, // Place to show bottom-left.
23 inT32 ypos); // Y position.
24
25 #endif // OCR_TESSERACT_SVSHOWIM_H__