- Timestamp:
- May 30, 2013 10:45:53 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp
r46283 r46322 303 303 /* static */ 304 304 void UIFrameBufferQImage::drawImageRectWide(QPainter &painter, const QImage &image, 305 const QRect &rect, int iContentsShiftX, int /*iContentsShiftY*/)305 const QRect &rect, int iContentsShiftX, int iContentsShiftY) 306 306 { 307 307 /* This method is faster for wide updates: */ 308 QPixmap pm = QPixmap::fromImage(QImage(image.scanLine(rect.y() + iContentsShift X),308 QPixmap pm = QPixmap::fromImage(QImage(image.scanLine(rect.y() + iContentsShiftY), 309 309 image.width(), rect.height(), image.bytesPerLine(), 310 310 QImage::Format_RGB32));
Note:
See TracChangeset
for help on using the changeset viewer.