Go to the source code of this file.
Classes | |
struct | gocr_block |
This is the block parent structure. More... | |
struct | gocr_line |
struct | gocr_textblock |
struct | gocr_pictureblock |
struct | gocr_mathblock |
Block | |
typedef int | gocr_blockType |
typedef int | gocr_blockId |
typedef gocr_block | gocr_Block |
Typedef encapsulation. | |
typedef gocr_line | gocr_Line |
typedef gocr_textblock | gocr_TextBlock |
typedef gocr_pictureblock | gocr_PictureBlock |
typedef gocr_mathblock | gocr_MathBlock |
gocr_blockType | gocr_blockTypeRegister (char *name) |
registers a new blockType. | |
gocr_blockType | gocr_blockTypeGetByName (char *name) |
returns the blockType given its name string. | |
const char * | gocr_blockTypeGetNameByType (gocr_blockType t) |
returns the name of the block type given its id. | |
int | gocr_blockAdd (gocr_Block *b) |
adds a block to the block list. | |
List | blocklist |
|
registers a new blockType. Long description.
|
|
returns the blockType given its name string. Long description.
|
|
returns the name of the block type given its id. Long description.
|
|
adds a block to the block list. This function adds a block that you created to the list of blocks. You are responsible for filling the x0, x1, y0, y1 and t fields of the block structure, and those. You can pass the address of a derived block type to it. You can't free the block.
|