Gosu::ImageData Class Reference

The ImageData class is an abstract base class for drawable images. More...

List of all members.

Public Member Functions

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


Detailed Description

The ImageData class is an abstract base class for drawable images.

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.


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

Generated on Fri Apr 17 23:35:43 2009 for Gosu by  doxygen 1.5.5