plastimatch
Loading...
Searching...
No Matches
Xpm_canvas Class Reference

#include <xpm.h>

Public Member Functions

 Xpm_canvas (int width, int height, int cpp)
 
 ~Xpm_canvas ()
 
void add_color (char color_code, int color)
 
int draw (Xpm_brush *brush)
 
void prime (char color_code)
 
int remove_color (char color_code)
 
void write (char *xpm_file)
 

Constructor & Destructor Documentation

◆ Xpm_canvas()

Xpm_canvas::Xpm_canvas ( int width,
int height,
int cpp )

◆ ~Xpm_canvas()

Xpm_canvas::~Xpm_canvas ( )

Member Function Documentation

◆ add_color()

void Xpm_canvas::add_color ( char color_code,
int color )

◆ draw()

int Xpm_canvas::draw ( Xpm_brush * brush)

◆ prime()

void Xpm_canvas::prime ( char color_code)

◆ remove_color()

int Xpm_canvas::remove_color ( char color_code)

◆ write()

void Xpm_canvas::write ( char * xpm_file)

The documentation for this class was generated from the following files: