Obsolete Members for QPainterThe following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code. Public Functions
Member Function Documentationvoid QPainter::drawRoundRect ( const QRectF & r, int xRnd = 25, int yRnd = 25 )Draws a rectangle r with rounded corners. The xRnd and yRnd arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness. A filled rectangle has a size of r.size(). A stroked rectangle has a size of r.size() plus the pen width. See also drawRoundedRect(). void QPainter::drawRoundRect ( const QRect & r, int xRnd = 25, int yRnd = 25 )This is an overloaded member function, provided for convenience. Draws the rectangle r with rounded corners. void QPainter::drawRoundRect ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )This is an overloaded member function, provided for convenience. Draws the rectangle x, y, w, h with rounded corners. const QMatrix & QPainter::matrix () constUse worldTransform() instead. See also setMatrix() and worldTransform(). bool QPainter::matrixEnabled () constUse worldMatrixEnabled() instead See also setMatrixEnabled() and worldMatrixEnabled(). void QPainter::setMatrix ( const QMatrix & matrix, bool combine = false )Use setWorldTransform() instead. See also matrix() and setWorldTransform(). void QPainter::setMatrixEnabled ( bool enable )Use setWorldMatrixEnabled() instead. See also matrixEnabled() and setWorldMatrixEnabled().
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |