From 08a156c1136f0d63747bfc8bb95737acdf529242 Mon Sep 17 00:00:00 2001 From: twanvl Date: Thu, 5 Jun 2008 20:17:32 +0000 Subject: [PATCH] Allow rotations when checking bounds of symbol parts. This will be needed to determine the correct symbol size when there are symmetries. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@976 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/data/symbol.cpp | 4 +++- src/gfx/bezier.cpp | 28 +++++++++++++++------------- src/gfx/bezier.hpp | 10 ++++++---- src/gui/set/random_pack_panel.cpp | 8 +++++++- src/gui/set/random_pack_panel.hpp | 3 +++ src/gui/set/window.cpp | 1 + src/util/rotation.hpp | 2 +- 7 files changed, 36 insertions(+), 20 deletions(-) diff --git a/src/data/symbol.cpp b/src/data/symbol.cpp index afa4306b..f1ec8b60 100644 --- a/src/data/symbol.cpp +++ b/src/data/symbol.cpp @@ -7,6 +7,7 @@ // ----------------------------------------------------------------------------- : Includes #include +#include #include #include