/*************************************************************************** * Copyright (C) 2006 by Luigi Toscano * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #ifndef _OKULAR_UTILS_H_ #define _OKULAR_UTILS_H_ #include "okular_export.h" #include /** * Namespace with utility functions */ namespace Okular { class OKULAR_EXPORT Utils { public: /** * Rotate the rect \p source in the area \p width x \p height with the * specified \p orientation . */ static QRect rotateRect( const QRect & source, int width, int height, int orientation ); }; } #endif