Ignore:
Timestamp:
Feb 6, 2006, 10:43:39 PM (20 years ago)
Author:
dmik
Message:

Implemented QRegion(..., QRegion::Eclipse) and QRegion(QPointArray &,...) constructors.
Improved Qt<->GPI region coordinates translation (it's now implicit), QRegion::handle() takes a height of the target devise as an argument (defaults to 0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel/qpaintdevice_pm.cpp

    r59 r61  
    536536    if ( td != QInternal::Pixmap ) {
    537537        if ( !dst_ps && td == QInternal::Widget ) {
    538             QWidget *dst_w = (QWidget*)dst;
    539             if ( dst_w->testWFlags(Qt::WPaintUnclipped) ) {
    540                 dst_ps = WinGetClipPS( dst_w->winId(), 0, PSF_PARENTCLIP );
    541             } else {
    542                 dst_ps = WinGetPS( dst_w->winId() );
    543             }
     538            dst_ps = ((QWidget*)dst)->getTargetPS();
    544539            dst_tmp = TRUE;
    545540        }
Note: See TracChangeset for help on using the changeset viewer.