Changeset 51369 in vbox
- Timestamp:
- May 23, 2014 12:26:48 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93870
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp
r51359 r51369 313 313 (rect.y() + iContentsShiftY) * image.bytesPerLine(); 314 314 315 /* Restrain boundaries: */ 316 int iSubImageWidth = qMin(rect.width(), image.width() - iContentsShiftX); 317 int iSubImageHeight = qMin(rect.height(), image.height() - iContentsShiftY); 318 315 319 /* Create sub-image (no copy involved): */ 316 320 QImage subImage = QImage(image.bits() + offset, 317 rect.width(), rect.height(),321 iSubImageWidth, iSubImageHeight, 318 322 image.bytesPerLine(), image.format()); 319 323
Note:
See TracChangeset
for help on using the changeset viewer.