RetroArch
tess_get_text.h
Go to the documentation of this file.
1 #ifndef TESS_GET_TEXT
2 #define TESS_GET_TEXT
3 
4 #include <boolean.h>
5 #include <retro_common_api.h>
6 
8 
9 typedef struct
10 {
11  unsigned width;
12  unsigned height;
13  unsigned bytes_per_pixel;
14  void* data;
15 } tess_image;
16 
17 /* if running in RetroArch language should be "eng" or "jpn" */
18 bool tess_init(const char* lang_data_dir, const char* language);
19 void tess_deinit(void);
21 
22 extern char tess_last_error[];
23 
25 
26 #endif
unsigned bytes_per_pixel
Definition: tess_get_text.h:13
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
char * tess_get_text(tess_image image)
Definition: tess_get_text.cpp:37
bool tess_init(const char *lang_data_dir, const char *language)
Definition: tess_get_text.cpp:12
char tess_last_error[]
Definition: tess_get_text.cpp:10
void * data
Definition: tess_get_text.h:14
void tess_deinit(void)
Definition: tess_get_text.cpp:28
unsigned width
Definition: tess_get_text.h:11
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: glext.h:6305
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
unsigned height
Definition: tess_get_text.h:12
Definition: tess_get_text.h:9