Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QPainter::rotate ( qreal  angle  )  [inherited]

Rotates the coordinate system the given angle clockwise.

See also:
setWorldMatrix(), {QPainter::Coordinate Transformations}{Coordinate Transformations}

Definition at line 2314 of file qpainter.cpp.

References QTransform::rotate(), and QPainter::setTransform().

Referenced by QWindowsVistaStyle::drawControl(), QPlastiqueStyle::drawControl(), QCleanlooksStyle::drawControl(), QMotifStyle::drawControl(), QWindowsStyle::drawControl(), QWindowsXPStyle::drawControl(), and QCommonStyle::drawControl().

{
#ifdef QT_DEBUG_DRAW
    if (qt_show_painter_debug_output)
        printf("QPainter::rotate(), angle=%f\n", a);
#endif
    QTransform m;
    m.rotate(a);
    setTransform(m, true);
}


Generated by  Doxygen 1.6.0   Back to index