Changeset 745 for trunk/src/gui/painting/qwindowsurface_raster.cpp
- Timestamp:
- Jun 11, 2010, 4:45:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/painting/qwindowsurface_raster.cpp
r719 r745 232 232 233 233 QPoint wOffset = qt_qwidget_data(widget)->wrect.topLeft(); 234 // note that we remove offset from wbr because the widget's HPS has a proper 235 // origin already that includes this offset (which is in fact a position of 236 // the widget relative to its top-level parent) 234 237 QRect wbr = br.translated(-offset - wOffset); 235 238 … … 272 275 273 276 QPoint wOffset = qt_qwidget_data(widget)->wrect.topLeft(); 277 // note that we remove offset from wbr because the widget's HPS has a proper 278 // origin already that includes this offset (which is in fact a position of 279 // the widget relative to its top-level parent) 274 280 QRect wbr = br.translated(-offset - wOffset); 275 281 … … 334 340 335 341 QPoint wOffset = qt_qwidget_data(widget)->wrect.topLeft(); 342 // note that we remove offset from wbr because the widget's HPS has a proper 343 // origin already that includes this offset (which is in fact a position of 344 // the widget relative to its top-level parent) 336 345 QRect wbr = br.translated(-offset - wOffset); 337 346
Note:
See TracChangeset
for help on using the changeset viewer.