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

void QPainter::setBrushOrigin ( int  x,
int  y 
) [inline, inherited]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Sets the brush's origin to point (x, y).

Definition at line 625 of file qpainter.h.

Referenced by QTreeView::drawBranches(), QPlastiqueStyle::drawComplexControl(), QMotifStyle::drawComplexControl(), QMotifStyle::drawControl(), QWindowsStyle::drawControl(), QWindowsStyle::drawPrimitive(), Q3Canvas::drawViewArea(), QPicture::exec(), Q3Header::paintSection(), and QPainter::setBrushOrigin().

    setBrushOrigin(QPoint(x, y));

Generated by  Doxygen 1.6.0   Back to index