| 62 | } |
| 63 | |
| 64 | Vec2 SizeApplyAffineTransform(const Vec2& size, const AffineTransform& t) |
| 65 | { |
| 66 | Vec2 s; |
| 67 | s.width = (float)((double)t.a * size.width + (double)t.c * size.height); |
| 68 | s.height = (float)((double)t.b * size.width + (double)t.d * size.height); |
| 69 | return s; |
| 70 | } |
| 71 | |
| 72 | AffineTransform AffineTransformMakeIdentity() |
| 73 | { |