5 #include <iink/Engine.h>
6 #include <iink/graphics/Point.h>
157 IINK_API
void scale(
double s) noexcept;
173 IINK_API
void scale(
double sx,
double sy) noexcept;
205 IINK_API
void rotate(
double a,
double x0,
double y0);
221 IINK_API
void rotate(
double cosA,
double sinA);
239 IINK_API
void rotate(
double cosA,
double sinA,
double x0,
double y0);
260 float x = (float)(p.x *
xx + p.y *
yx +
tx);
261 float y = (float)(p.x *
xy + p.y *
yy +
ty);
274 apply(points, 0, count);
284 void apply(
Point* points,
int offset,
int count)
const noexcept
286 for (
int i = 0; i < count; ++i)
287 apply(points[offset + i]);
304 return xx == other.xx &&
yx == other.yx &&
tx == other.tx &&
xy == other.xy &&
yy == other.yy &&
ty == other.ty;
331 os <<
"Transform([" << tr.
xx <<
", " << tr.
yx <<
", " << tr.
tx <<
"], [" << tr.
xy <<
", " << tr.
yy <<
", " << tr.
ty <<
"])";
std::ostream & operator<<(std::ostream &os, const Color &c)
Definition: Color.h:134
Definition: Configuration.h:11