#include <geometry.h>
Static Public Member Functions | |
| int | resize (Image *dst, Image *src) |
| int | rotate (Image *dst, Image *src, float degree) |
| int | shift (Image *dst, Image *src, int shiftX, int shiftY) |
| int | flip (Image *dst, Image *src, int direction) |
| int | crop (Image *dst, Image *src, int top, int bottom, int left, int right) |
| int | zoom (Image *dst, Image *src, float factor) |
|
||||||||||||||||
|
Flips the image on its horizontal or vertical axis (depends on direction) |
|
||||||||||||
|
Resizes the image, thus that the src is in the center of the dst image and the border is filled with black. |
|
||||||||||||||||||||
|
Shifts the image in the x and y direction for the defined amounts of pixels. The image is not wraped around nor resized. Parts that move out of the image are just cut away. The reference points in both, the source and the destination image are their upper left corner. |
1.3.7