Optibits
Loading...
Searching...
No Matches
Optibits::Bitmap Class Reference

Public Member Functions

 Bitmap (int width, int height, Color c=Color::NONE)
 
 Bitmap (int width, int height, Optibits::Buffer &&buffer)
 
int width () const
 
int height () const
 
void resize (int width, int height, Color c=Color::NONE)
 
const Colordata () const
 
Colordata ()
 
const Colorpixel (int x, int y) const
 
Colorpixel (int x, int y)
 
void blendPixel (int x, int y, Color c)
 
void insert (const Bitmap &source, int x, int y, Rect sourceRect)
 
void applyColorKey (Color key)
 
bool operator== (const Bitmap &) const
 

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