39 ImageSet(
Image *img,
int w,
int h,
int margin = 0,
int spacing = 0);
Stores a set of subimages originating from a single image.
int getWidth() const
Returns the width of the images in the image set.
ImageSet(const ImageSet &)=delete
ImageSet & operator=(const ImageSet &)=delete
std::vector< Image * > mImages
int mWidth
Width of the images in the image set.
Image * get(size_t i) const
int mHeight
Height of the images in the image set.
int getHeight() const
Returns the height of the images in the image set.
Defines a class for loading and storing images.
A generic reference counted resource object.