Entire Class Index | Main Class Index | Cross Index | Global Index

# Class CL_PixelData

Pixel Data Class
Contained in: global
Derived from: none
Derived by: none
Group: Display (Display 2D)

#include <ClanLib/display.h>

### public function member index:
### Construction:
`` | `CL_PixelData` | `(`unsigned` `int` `red_mask`, `unsigned` `int` `green_mask`, `unsigned` `int` `blue_mask`, `unsigned` `int` `alpha_mask`, `CL_SurfaceProvider`* `src`, `unsigned` `int` `bytes_per_pixel`)`;
``virtual`` | `~CL_PixelData` | `()`;
### Attributes:
``unsigned` `int`` | `get_width` | `()`;
``unsigned` `int`` | `get_height` | `()`;
``unsigned` `int`` | `get_bytes_per_pixel` | `()`;
``int`` | `get_bytes_per_line` | `()`;
``void`` | `get_line_pixel_to_dest` | `(`int` `y`, `unsigned` `char`* `dest`)`;
``void`` | `dump_assert_info` | `(`int` `line`)`;
``unsigned` `char`*` | `get_line_pixel` | `(`int` `y`)`;
``unsigned` `short`*` | `get_line_pixel16` | `(`int` `y`)`;
``unsigned` `int`*` | `get_line_pixel32` | `(`int` `y`)`;

## Description:

## Function Member Descriptions:

CL_PixelData::CL_PixelData - PixelData Constructor
`` `CL_PixelData``(`unsigned` `int` `red_mask`, `unsigned` `int` `green_mask`, `unsigned` `int` `blue_mask`, `unsigned` `int` `alpha_mask`, `CL_SurfaceProvider`* `src`, `unsigned` `int` `bytes_per_pixel`)`;

CL_PixelData::dump_assert_info - Dump assert info
``void`` `dump_assert_info``(`int` `line`)`;

CL_PixelData::get_bytes_per_line - Get bytes per line
``int`` `get_bytes_per_line``()`;

CL_PixelData::get_bytes_per_pixel - Get bytes per pixel
``unsigned` `int`` `get_bytes_per_pixel``()`;

CL_PixelData::get_height - Get height
``unsigned` `int`` `get_height``()`;

CL_PixelData::get_line_pixel - Get line pixel
``unsigned` `char`*` `get_line_pixel``(`int` `y`)`;

CL_PixelData::get_line_pixel16 - Get line pixel16
``unsigned` `short`*` `get_line_pixel16``(`int` `y`)`;

CL_PixelData::get_line_pixel32 - Get line pixel32
``unsigned` `int`*` `get_line_pixel32``(`int` `y`)`;

CL_PixelData::get_line_pixel_to_dest - Get line pixel to dest
``void`` `get_line_pixel_to_dest``(`int` `y`, `unsigned` `char`* `dest`)`;

CL_PixelData::get_width - Get width
``unsigned` `int`` `get_width``()`;

CL_PixelData::~CL_PixelData - PixelData Destructor
``virtual`` `~CL_PixelData``()`;

## Variable Member Descriptions: