#include <BitMap.h>
|
| BitMapPic (int w, int h) |
|
| BitMapPic (const char *file) |
|
| ~BitMapPic () |
|
| BitMapPic (const BitMapPic &b) |
|
BitMapPic & | operator= (const BitMapPic &b) |
|
int | GetWidth () |
|
int | GetHeight () |
|
void | Save (const char *file) |
|
void | SetPixel (int x, int y, uint8_t redByte, uint8_t greenByte, uint8_t blueByte, uint8_t alphaByte=0) |
|
void | GetPixel (int x, int y, uint8_t &redByte, uint8_t &greenByte, uint8_t &blueByte, uint8_t &alphaByte) const |
|
uint8_t * | GetBytes () |
|
Definition at line 46 of file BitMap.h.
◆ BitMapPic() [1/3]
BitMapPic::BitMapPic |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
◆ BitMapPic() [2/3]
BitMapPic::BitMapPic |
( |
const char * |
file | ) |
|
◆ ~BitMapPic()
BitMapPic::~BitMapPic |
( |
| ) |
|
◆ BitMapPic() [3/3]
◆ GetBytes()
uint8_t* BitMapPic::GetBytes |
( |
| ) |
|
|
inline |
◆ GetHeight()
int BitMapPic::GetHeight |
( |
| ) |
|
|
inline |
◆ GetPixel()
void BitMapPic::GetPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
uint8_t & |
redByte, |
|
|
uint8_t & |
greenByte, |
|
|
uint8_t & |
blueByte, |
|
|
uint8_t & |
alphaByte |
|
) |
| const |
◆ GetWidth()
int BitMapPic::GetWidth |
( |
| ) |
|
|
inline |
◆ operator=()
◆ Save()
void BitMapPic::Save |
( |
const char * |
file | ) |
|
◆ SetPixel()
void BitMapPic::SetPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
uint8_t |
redByte, |
|
|
uint8_t |
greenByte, |
|
|
uint8_t |
blueByte, |
|
|
uint8_t |
alphaByte = 0 |
|
) |
| |
◆ height
uint32_t BitMapPic::height |
|
private |
◆ image
uint8_t* BitMapPic::image |
|
private |
◆ width
uint32_t BitMapPic::width |
|
private |
The documentation for this class was generated from the following files:
- /home/sturtevant/nightly/hog2/utils/BitMap.h
- /home/sturtevant/nightly/hog2/utils/BitMap.cpp