You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
1022 B

/***************************************************************************
* Copyright (C) 2006 by Luigi Toscano <luigi.toscano@tiscali.it> *
* *
* 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 <qrect.h>
/**
* Namespace with utility functions
*/
namespace okularUtils
{
/**
* Rotate the rect \p source in the area \p width x \p height with the
* specified \p orientation .
*/
QRect OKULAR_EXPORT rotateRect( const QRect & source, int width, int height, int orientation );
};
#endif