• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

okular

  • sources
  • kde-4.12
  • kdegraphics
  • okular
  • core
utils.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2006 by Luigi Toscano <luigi.toscano@tiscali.it> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  ***************************************************************************/
9 
10 #ifndef _OKULAR_UTILS_H_
11 #define _OKULAR_UTILS_H_
12 
13 #include "okular_export.h"
14 #include "area.h"
15 
16 class QRect;
17 class QImage;
18 
19 namespace Okular
20 {
21 
27 class OKULAR_EXPORT Utils
28 {
29  public:
34  static QRect rotateRect( const QRect & source, int width, int height, int orientation );
35 
39  static double dpiX();
40 
44  static double dpiY();
45 
54  static double realDpiX();
55 
64  static double realDpiY();
65 
72  static NormalizedRect imageBoundingBox( const QImage* image );
73 };
74 
75 }
76 
77 #endif
Okular::NormalizedRect
NormalizedRect is a helper class which stores the coordinates of a normalized rect, which is a rectangle of.
Definition: area.h:105
area.h
okular_export.h
Okular::Utils
General utility functions.
Definition: utils.h:27
OKULAR_EXPORT
#define OKULAR_EXPORT
Definition: okular_export.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal