pixel_buffer
- none -
long mode
short bytes_per_row
short width
short height
unsigned char *pixels
pixel_buffer()
pixel_buffer(const int width, const int height, const long mode=0)
void draw_y_line(const int x,const int ystart,
const int yend,const int col)
Draws a vertical line starting at the specified x position and ystart, and ending at the yend position. It will be drawn in the specified color.
void PutPixel(const int x, const int y, const unsigned char pixval)
Set the value of the pixel located at the x,y position to the specified value. Range checking is performed, so if the x,y coordinates are outside the bounds of the pixel_buffer, then no pixel will be set.
- none -
- none -