diff options
author | Tobia Tesan | 2013-07-15 23:29:55 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 00:21:36 +0200 |
commit | aeb4c0953805185ab70ceecb8e38b3b47c4322d9 (patch) | |
tree | 25c7b88777386eb6f5a4136ddf95ad5418972ce2 | |
parent | 0d407fd2066fb94d19e7fd7e4bf703dd68d34ec9 (diff) | |
download | scummvm-rg350-aeb4c0953805185ab70ceecb8e38b3b47c4322d9.tar.gz scummvm-rg350-aeb4c0953805185ab70ceecb8e38b3b47c4322d9.tar.bz2 scummvm-rg350-aeb4c0953805185ab70ceecb8e38b3b47c4322d9.zip |
WINTERMUTE: Doxygen comments in TransformStruct
-rw-r--r-- | engines/wintermute/graphics/transform_tools.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/wintermute/graphics/transform_tools.h b/engines/wintermute/graphics/transform_tools.h index a9eabffe26..0d81fb66da 100644 --- a/engines/wintermute/graphics/transform_tools.h +++ b/engines/wintermute/graphics/transform_tools.h @@ -36,8 +36,12 @@ public: static FloatPoint transformPoint(const FloatPoint &point, const float rotate, const Point32 &zoom, const bool mirrorX = false, const bool mirrorY = false); /** - * Takes a rectangle, a transform and a pointer to a point, "newHotspot". - * In return you get the smallest rect that can contain the transformed sprite + * @param &point the point on which the transform is to be applied + * @param rotate the angle in degrees + * @param &zoom zoom x,y in percent + * @param mirrorX flip along the vertical axis? + * @param mirrorY flip along the horizontal axis? + * @return the smallest rect that can contain the transformed sprite * and, as a side-effect, "newHotspot" will tell you where the hotspot will * have ended up in the new rect, for centering. */ |