equal
deleted
inserted
replaced
204 Q_D(QPdfEngine); |
204 Q_D(QPdfEngine); |
205 |
205 |
206 QRect sourceRect = sr.toRect(); |
206 QRect sourceRect = sr.toRect(); |
207 QImage im = sourceRect != image.rect() ? image.copy(sourceRect) : image; |
207 QImage im = sourceRect != image.rect() ? image.copy(sourceRect) : image; |
208 bool bitmap = true; |
208 bool bitmap = true; |
209 const int object = d->addImage(image, &bitmap, im.cacheKey()); |
209 const int object = d->addImage(im, &bitmap, im.cacheKey()); |
210 if (object < 0) |
210 if (object < 0) |
211 return; |
211 return; |
212 |
212 |
213 *d->currentPage << "q\n/GSa gs\n"; |
213 *d->currentPage << "q\n/GSa gs\n"; |
214 *d->currentPage |
214 *d->currentPage |