Public Member Functions | |
virtual | ~ImageData () |
virtual unsigned | width () const =0 |
virtual unsigned | height () const =0 |
virtual void | draw (double x1, double y1, Color c1, double x2, double y2, Color c2, double x3, double y3, Color c3, double x4, double y4, Color c4, ZPos z, AlphaMode mode) const =0 |
virtual boost::optional < GLTexInfo > | glTexInfo () const =0 |
virtual Bitmap | toBitmap () const =0 |
virtual void | insert (const Bitmap &bitmap, int x, int y)=0 |
Experimental and undocumented for now. |
Instances of classes derived by ImageData are usually returned by Graphics::createImage and usually only used to implement drawing primitives like Image, which then provide a more specialized and intuitive drawing interface.
Definition at line 28 of file ImageData.hpp.
virtual Gosu::ImageData::~ImageData | ( | ) | [virtual] |
Definition at line 31 of file ImageData.hpp.
virtual void Gosu::ImageData::draw | ( | double | x1, | |
double | y1, | |||
Color | c1, | |||
double | x2, | |||
double | y2, | |||
Color | c2, | |||
double | x3, | |||
double | y3, | |||
Color | c3, | |||
double | x4, | |||
double | y4, | |||
Color | c4, | |||
ZPos | z, | |||
AlphaMode | mode | |||
) | const [pure virtual] |
virtual boost::optional<GLTexInfo> Gosu::ImageData::glTexInfo | ( | ) | const [pure virtual] |
virtual unsigned Gosu::ImageData::height | ( | ) | const [pure virtual] |
virtual void Gosu::ImageData::insert | ( | const Bitmap & | bitmap, | |
int | x, | |||
int | y | |||
) | [pure virtual] |
Experimental and undocumented for now.
virtual Bitmap Gosu::ImageData::toBitmap | ( | ) | const [pure virtual] |
virtual unsigned Gosu::ImageData::width | ( | ) | const [pure virtual] |