![]() |
Qt 4.8
|
Go to the source code of this file.
Functions | |
| static bool | paintsOver (const QCss::BorderStyle *styles, const QBrush *colors, QCss::Edge e1, QCss::Edge e2) |
| 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, Edge edge, BorderStyle s, QBrush c) |
| void | qNormalizeRadii (const QRect &br, const QSize *radii, QSize *tlr, QSize *trr, QSize *blr, QSize *brr) |
| static QPen | qPenFromStyle (const QBrush &b, qreal width, BorderStyle s) |
|
static |
Definition at line 334 of file qcssutil.cpp.
Referenced by qDrawBorder().
| 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, | ||
| Edge | edge, | ||
| BorderStyle | s, | ||
| QBrush | c | ||
| ) |
Definition at line 82 of file qcssutil.cpp.
Referenced by qDrawBorder().
| 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().
|
static |
Definition at line 53 of file qcssutil.cpp.
Referenced by qDrawEdge(), and qDrawRoundedCorners().