rotation support

This commit is contained in:
Konstantin Käfer
2014-01-08 17:31:35 +01:00
parent 7526d681e2
commit 04d9d6b9f9
7 changed files with 113 additions and 34 deletions

View File

@@ -52,6 +52,11 @@ void map::scaleBy(double ds, double cx, double cy) {
platform->restart();
}
void map::rotateBy(double cx, double cy, double dx, double dy) {
transform->rotateBy(cx, cy, dx, dy);
platform->restart();
}
bool map::render() {
painter->clear();