#include <img.h>
Public Member Functions | |
| COLOUR_PIX | operator[] (inT32 index) |
| IMAGELINE () | |
| void | init (inT32 width) |
| ~IMAGELINE () | |
| void | set_bpp (inT8 new_bpp) |
| void | init () |
Public Attributes | |
| uinT8 * | pixels |
| 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) |
| IMAGELINE::IMAGELINE | ( | ) | [inline] |
default constructor
| IMAGELINE::~IMAGELINE | ( | ) | [inline] |
| void IMAGELINE::init | ( | ) | [inline] |
| void IMAGELINE::init | ( | inT32 | width | ) | [inline] |
| COLOUR_PIX IMAGELINE::operator[] | ( | inT32 | index | ) | [inline] |
colour pixels
| void IMAGELINE::set_bpp | ( | inT8 | new_bpp | ) | [inline] |
For colour
| x | coord to start at | |
| y | line to get | |
| width | no of pixels to get | |
| linebuf | line to copy to |
| x | coord to start at | |
| y | line to get | |
| width | no of pixels to put | |
| linebuf | line to copy to |
| void IMAGE::get_column | ( | inT32 | x, | |
| inT32 | y, | |||
| inT32 | height, | |||
| IMAGELINE * | linebuf, | |||
| inT32 | margins | |||
| ) | [friend] |
copies a column
| 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
| x | coord to start at | |
| y | line to get | |
| width | no of pixels to get | |
| linebuf | line to copy to | |
| margins | size of margins |
| void IMAGE::put_column | ( | inT32 | x, | |
| inT32 | y, | |||
| inT32 | height, | |||
| IMAGELINE * | linebuf, | |||
| inT32 | margins | |||
| ) | [friend] |
writes a column
| 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
| x | coord to start at | |
| y | line to get | |
| width | no of pixels to put | |
| linebuf | line to copy to | |
| margins | size of margins |
bits per pixel
image pixels
1.6.3