69 Transform
rotate(
double angle,
double around_x = 0,
double around_y = 0);
70 Transform
scale(
double factor);
71 Transform
scale(
double scale_x,
double scale_y,
double from_x = 0,
double from_y = 0);
72 Transform
concat(
const Transform& lhs,
const Transform& rhs);
ImageFlags
Flags that affect the tileability or interpolation of an image.
Transform scale(double factor)
Apply nearest-neighbor interpolation when scaling this image up or down.
std::array< double, 16 > Transform
Transform concat(const Transform &lhs, const Transform &rhs)
double ZPos
Represents the Z position of something drawn with Gosu's graphics system.
Transform rotate(double angle, double around_x=0, double around_y=0)
double angle(double from_x, double from_y, double to_x, double to_y, double def=0)
Returns the angle from point 1 to point 2 in degrees, where 0.0 means upwards.
The color's channels will be interpolated.
Transform translate(double x, double y)
AlphaMode
Determines the way colors are combined when one is drawn onto another.
The color's channels will be multiplied with each other.
The colors' channels will be added.