tesseract/image/svshowim.h
theraysmith 5c45dc15b1 Fixed name collision with jpeg library
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@165 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-04-22 00:44:56 +00:00

26 lines
954 B
C++

// Copyright 2006 Google Inc. All Rights Reserved.
// Author: <rays@google.com> (Ray Smith)
//
#ifndef OCR_TESSERACT_SVSHOWIM_H__
#define OCR_TESSERACT_SVSHOWIM_H__
#include "host.h"
#include "img.h"
class ScrollView;
// Override of a tesseract function to display an image in a window.
// This function redirects the display to ScrollView instead of the
// stubbed-out functions in tesseract.
void sv_show_sub_image(IMAGE* source, // Image to show.
inT32 xstart, // Bottom-left coords.
inT32 ystart,
inT32 xext, // Size of rectangle to show.
inT32 yext,
ScrollView* win, // Window to draw in.
inT32 xpos, // Place to show bottom-left.
inT32 ypos); // Y position.
#endif // OCR_TESSERACT_SVSHOWIM_H__