Logo    
KDWinUtils
Helper library for MFC to Qt migration
Loading...
Searching...
No Matches
kdpainter_helper.h File Reference
#include "../kdwinutils_global.h"
#include <QPainter>
#include <QPoint>
#include <QRect>
Include dependency graph for kdpainter_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utils
 

Functions

void Utils::drawArc (QPainter *painter, const QRect &rect, const QPoint &p1, const QPoint &p2)
 Draws an arc specified by the given rectangle, and 2 points.
 
void Utils::drawCenterLabel (QPainter *pDC, const QPoint &pt, const QString &label)
 Draws a label centered at the specified point.
 
void Utils::drawChord (QPainter *painter, const QRect &rect, const QPoint &p1, const QPoint &p2)
 Draws an chrod specified by the given rectangle, and 2 points.
 
void Utils::drawLabel (QPainter *pDC, const QPoint &pt, const QString &label, Qt::Alignment align)
 Draws a label at the specified point with the given alignment.
 
void Utils::drawPie (QPainter *painter, const QRect &rect, const QPoint &p1, const QPoint &p2)
 Draws a pie specified by the given rectangle, and 2 points.