PDA

View Full Version : i need extend image using QPainter



erichong81
18th March 2010, 08:08
there are a image that is rectangle shape.
i should leave edge area.. and extend center area .
how do i do!! please! help!

Lykurg
18th March 2010, 08:51
QPainter::drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ). Use the first and third parameter!