Stores a set of subimages originating from a single image.
More...
#include <imageset.h>
Stores a set of subimages originating from a single image.
Definition at line 33 of file imageset.h.
◆ ImageSet() [1/2]
ImageSet::ImageSet |
( |
Image * |
img, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
margin = 0 , |
|
|
int |
spacing = 0 |
|
) |
| |
Cuts the passed image in a grid of sub images.
Definition at line 30 of file imageset.cpp.
◆ ImageSet() [2/2]
◆ ~ImageSet()
◆ get()
Image * ImageSet::get |
( |
size_t |
i | ) |
const |
◆ getHeight()
int ImageSet::getHeight |
( |
| ) |
const |
|
inline |
Returns the height of the images in the image set.
Definition at line 54 of file imageset.h.
◆ getOffsetX()
int ImageSet::getOffsetX |
( |
| ) |
const |
|
inline |
◆ getOffsetY()
int ImageSet::getOffsetY |
( |
| ) |
const |
|
inline |
◆ getWidth()
int ImageSet::getWidth |
( |
| ) |
const |
|
inline |
Returns the width of the images in the image set.
Definition at line 49 of file imageset.h.
◆ operator=()
◆ setOffsetX()
void ImageSet::setOffsetX |
( |
int |
n | ) |
|
|
inline |
◆ setOffsetY()
void ImageSet::setOffsetY |
( |
int |
n | ) |
|
|
inline |
◆ size()
size_t ImageSet::size |
( |
| ) |
const |
|
inline |
◆ mHeight
Height of the images in the image set.
Definition at line 76 of file imageset.h.
◆ mImages
std::vector<Image*> ImageSet::mImages |
|
private |
◆ mOffsetX
int ImageSet::mOffsetX = 0 |
|
private |
◆ mOffsetY
int ImageSet::mOffsetY = 0 |
|
private |
◆ mWidth
Width of the images in the image set.
Definition at line 75 of file imageset.h.
The documentation for this class was generated from the following files: