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

QPixmap QPixmap::copy ( int  x,
int  y,
int  width,
int  height 
) const [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns a deep copy of the subset of the pixmap that is specified by the rectangle QRect( x, y, width, height).

Definition at line 272 of file qpixmap.h.

Referenced by detach(), QPixmapColorizeFilter::draw(), QPixmapDropShadowFilter::draw(), QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QOpenGLPaintEngine::drawTiledPixmap(), operator=(), QPixmap(), scaledToHeight(), and scaledToWidth().

{
    return copy(QRect(ax, ay, awidth, aheight));
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index