#include <img.h>
List of all members.
Friends |
void | IMAGE::get_line (inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf, inT32 margins) |
void | IMAGE::get_column (inT32 x, inT32 y, inT32 height, IMAGELINE *linebuf, inT32 margins) |
void | IMAGE::put_line (inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf, inT32 margins) |
void | IMAGE::put_column (inT32 x, inT32 y, inT32 height, IMAGELINE *linebuf, inT32 margins) |
void | IMAGE::fast_get_line (inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf) |
void | IMAGE::fast_put_line (inT32 x, inT32 y, inT32 width, IMAGELINE *linebuf) |
Detailed Description
Definition at line 325 of file img.h.
Constructor & Destructor Documentation
default constructor
Definition at line 337 of file img.h.
IMAGELINE::~IMAGELINE |
( |
| ) |
|
|
inline |
Member Function Documentation
void IMAGELINE::init |
( |
inT32 |
width | ) |
|
|
inline |
Definition at line 343 of file img.h.
{
if (width <= 0)
if (width > linewidth) {
linewidth = width;
}
}
colour pixels
Definition at line 331 of file img.h.
void IMAGELINE::set_bpp |
( |
inT8 |
new_bpp | ) |
|
|
inline |
For colour
Definition at line 362 of file img.h.
{
if (new_bpp <= 8)
else
}
Friends And Related Function Documentation
- Note:
- may just change pointer
- Parameters:
-
x | coord to start at |
y | line to get |
width | no of pixels to get |
linebuf | line to copy to |
- Note:
- may just change pointer
- Parameters:
-
x | coord to start at |
y | line to get |
width | no of pixels to put |
linebuf | line to copy to |
copies a column
- Parameters:
-
x | coord to start at |
y | line to get |
height | no of pixels to get |
linebuf | line to copy to |
margins | size of margins |
copies a line
- Parameters:
-
x | coord to start at |
y | line to get |
width | no of pixels to get |
linebuf | line to copy to |
margins | size of margins |
writes a column
- Parameters:
-
x | coord to start at |
y | line to get |
height | no of pixels to put |
linebuf | line to copy to |
margins | size of margins |
writes a line
- Parameters:
-
x | coord to start at |
y | line to get |
width | no of pixels to put |
linebuf | line to copy to |
margins | size of margins |
Member Data Documentation
bits per pixel
Definition at line 329 of file img.h.
image pixels
Definition at line 328 of file img.h.
The documentation for this class was generated from the following file:
- /mnt/data/src/tesseract-ocr/image/img.h