| 132 | } |
| 133 | |
| 134 | AffineTransform AffineTransformRotate(const AffineTransform& t, float anAngle) |
| 135 | { |
| 136 | float sine = sinf(anAngle); |
| 137 | float cosine = cosf(anAngle); |
| 138 | |
| 139 | return AffineTransformMake(t.a * cosine + t.c * sine, t.b * cosine + t.d * sine, t.c * cosine - t.a * sine, |
| 140 | t.d * cosine - t.b * sine, t.tx, t.ty); |
| 141 | } |
| 142 | |
| 143 | /* Concatenate `t2' to `t1' and return the result: |
| 144 | t' = t1 * t2 */ |
nothing calls this directly
no test coverage detected