Tesseract 3.01
IMAGELINE Class Reference

#include <img.h>

List of all members.

Public Member Functions

COLOUR_PIX operator[] (inT32 index)
 IMAGELINE ()
void init (inT32 width)
 ~IMAGELINE ()
void set_bpp (inT8 new_bpp)
void init ()

Public Attributes

uinT8pixels
 image pixels
inT8 bpp
 bits per pixel

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)

Constructor & Destructor Documentation

IMAGELINE::IMAGELINE ( ) [inline]

default constructor

IMAGELINE::~IMAGELINE ( ) [inline]

Member Function Documentation

void IMAGELINE::init ( inT32  width) [inline]
void IMAGELINE::init ( ) [inline]
COLOUR_PIX IMAGELINE::operator[] ( inT32  index) [inline]

colour pixels

void IMAGELINE::set_bpp ( inT8  new_bpp) [inline]

For colour


Friends And Related Function Documentation

void IMAGE::fast_get_line ( inT32  x,
inT32  y,
inT32  width,
IMAGELINE linebuf 
) [friend]
Note:
may just change pointer
Parameters:
xcoord to start at
yline to get
widthno of pixels to get
linebufline to copy to
void IMAGE::fast_put_line ( inT32  x,
inT32  y,
inT32  width,
IMAGELINE linebuf 
) [friend]
Note:
may just change pointer
Parameters:
xcoord to start at
yline to get
widthno of pixels to put
linebufline to copy to
void IMAGE::get_column ( inT32  x,
inT32  y,
inT32  height,
IMAGELINE linebuf,
inT32  margins 
) [friend]

copies a column

Parameters:
xcoord to start at
yline to get
heightno of pixels to get
linebufline to copy to
marginssize of margins
void IMAGE::get_line ( inT32  x,
inT32  y,
inT32  width,
IMAGELINE linebuf,
inT32  margins 
) [friend]

copies a line

Parameters:
xcoord to start at
yline to get
widthno of pixels to get
linebufline to copy to
marginssize of margins
void IMAGE::put_column ( inT32  x,
inT32  y,
inT32  height,
IMAGELINE linebuf,
inT32  margins 
) [friend]

writes a column

Parameters:
xcoord to start at
yline to get
heightno of pixels to put
linebufline to copy to
marginssize of margins
void IMAGE::put_line ( inT32  x,
inT32  y,
inT32  width,
IMAGELINE linebuf,
inT32  margins 
) [friend]

writes a line

Parameters:
xcoord to start at
yline to get
widthno of pixels to put
linebufline to copy to
marginssize of margins

Member Data Documentation

bits per pixel

image pixels


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines