Home | History | Annotate | Download | only in QT

Lines Matching refs:pixmap

44     SkPixmap pixmap;
46 if (fSurface->peekPixels(&pixmap)) {
47 SkASSERT(pixmap.width() > 0);
48 SkASSERT(pixmap.height() > 0);
52 float ratio = this->width() / pixmap.width();
53 resultRect = QRectF(0, 0, this->width(), ratio * pixmap.height());
55 float ratio = this->height() / pixmap.height();
56 resultRect = QRectF(0, 0, ratio * pixmap.width(), this->height());
61 QImage image(reinterpret_cast<const uchar*>(pixmap.addr()),
62 pixmap.width(),
63 pixmap.height(),
64 pixmap.rowBytes(),