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

okular

Okular::Utils

Okular::Utils Class Reference

#include <utils.h>

List of all members.


Detailed Description

General utility functions.

This class contains some static functions of general utility.

Definition at line 25 of file utils.h.


Static Public Member Functions

static QRect rotateRect (const QRect &source, int width, int height, int orientation)
static double dpiX ()
static double dpiY ()

Member Function Documentation

QRect Utils::rotateRect ( const QRect &  source,
int  width,
int  height,
int  orientation 
) [static]

Rotate the rect source in the area width x height with the specified orientation .

Definition at line 27 of file utils.cpp.

double Utils::dpiX (  )  [static]

Return the horizontal DPI of the main display.

Definition at line 56 of file utils.cpp.

double Utils::dpiY (  )  [static]

Return the vertical DPI of the main display.

Definition at line 61 of file utils.cpp.


The documentation for this class was generated from the following files:
  • utils.h
  • utils.cpp

okular

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

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal