Return an Affine2D object that rotates by the given angle in radians.
(theta)
| 27 | |
| 28 | @functools.lru_cache(maxsize=128) |
| 29 | def _rotate(theta): |
| 30 | """ |
| 31 | Return an Affine2D object that rotates by the given angle in radians. |
| 32 | """ |
| 33 | return Affine2D().rotate(theta) |
| 34 | |
| 35 | |
| 36 | def _rotate_point(angle, x, y): |