Qt 4.8
|
#include "QtCore/qglobal.h"
#include "private/qcssparser_p.h"
#include "QtCore/qsize.h"
Go to the source code of this file.
Functions | |
void | qDrawBorder (QPainter *p, const QRect &rect, const QCss::BorderStyle *styles, const int *borders, const QBrush *colors, const QSize *radii) |
void | qDrawEdge (QPainter *p, qreal x1, qreal y1, qreal x2, qreal y2, qreal dw1, qreal dw2, QCss::Edge edge, QCss::BorderStyle style, QBrush c) |
void | qDrawRoundedCorners (QPainter *p, qreal x1, qreal y1, qreal x2, qreal y2, const QSizeF &r1, const QSizeF &r2, QCss::Edge edge, QCss::BorderStyle s, QBrush c) |
void | qNormalizeRadii (const QRect &br, const QSize *radii, QSize *tlr, QSize *trr, QSize *blr, QSize *brr) |
void qDrawBorder | ( | QPainter * | p, |
const QRect & | rect, | ||
const QCss::BorderStyle * | styles, | ||
const int * | borders, | ||
const QBrush * | colors, | ||
const QSize * | radii | ||
) |
Definition at line 348 of file qcssutil.cpp.
Referenced by QRenderRule::drawBorder(), and QRenderRule::drawOutline().
void qDrawEdge | ( | QPainter * | p, |
qreal | x1, | ||
qreal | y1, | ||
qreal | x2, | ||
qreal | y2, | ||
qreal | dw1, | ||
qreal | dw2, | ||
QCss::Edge | edge, | ||
QCss::BorderStyle | style, | ||
QBrush | c | ||
) |
Definition at line 187 of file qcssutil.cpp.
Referenced by QTextDocumentLayoutPrivate::drawBorder(), qDrawBorder(), and qDrawEdge().
void qDrawRoundedCorners | ( | QPainter * | p, |
qreal | x1, | ||
qreal | y1, | ||
qreal | x2, | ||
qreal | y2, | ||
const QSizeF & | r1, | ||
const QSizeF & | r2, | ||
QCss::Edge | edge, | ||
QCss::BorderStyle | s, | ||
QBrush | c | ||
) |
void qNormalizeRadii | ( | const QRect & | br, |
const QSize * | radii, | ||
QSize * | tlr, | ||
QSize * | trr, | ||
QSize * | blr, | ||
QSize * | brr | ||
) |
Definition at line 316 of file qcssutil.cpp.
Referenced by QRenderRule::borderClip(), and qDrawBorder().