Changeset 8 for trunk/include/qpainter.h


Ignore:
Timestamp:
Nov 16, 2005, 8:36:46 PM (20 years ago)
Author:
dmik
Message:

Transferred Qt for OS/2 version 3.3.1-rc5 sources from the CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/qpainter.h

    r7 r8  
    279279#if defined(Q_WS_WIN)
    280280    HDC         handle() const;
     281#elif defined(Q_WS_PM)
     282    HPS         handle() const;
    281283#elif defined(Q_WS_X11) || defined(Q_WS_MAC)
    282284    HANDLE      handle() const;
     
    301303    void        mapInv( int, int, int *, int * ) const;
    302304    void        mapInv( int, int, int, int, int *, int *, int *, int * ) const;
     305#if defined(Q_WS_PM)
     306    void        drawPolyInternal( const QPointArray &, bool close=TRUE,
     307                                  bool winding=FALSE, int index=0, int npoints=-1,
     308                                  bool disjoint=FALSE );
     309    enum        ArcClose { CloseNone, CloseChord, ClosePie };                                     
     310    void        drawArcInternal( int x, int y, int w, int h, int a = 0,
     311                                 int alen = 360*16, ArcClose close = CloseChord );
     312    void        drawWinFocusRectInternal( int x, int y, int w, int h,
     313                                          const QColor &bgCol, bool xormode );
     314    void        drawRectInternal( int x, int y, int w, int h, int wRnd, int hRnd );
     315#else   
    303316    void        drawPolyInternal( const QPointArray &, bool close=TRUE );
     317#endif   
    304318    void        drawWinFocusRect( int x, int y, int w, int h, bool xorPaint,
    305319                                  const QColor &penColor );
     
    368382#endif
    369383
     384#if !defined(Q_WS_PM)
    370385    void       *penRef;                         // pen cache ref
    371386    void       *brushRef;                       // brush cache ref
     387#endif   
    372388    void       *ps_stack;
    373389    void       *wm_stack;
     
    383399    friend class QFontEngineBox;
    384400    QT_WIN_PAINTER_MEMBERS
     401#elif defined(Q_WS_PM)
     402    bool setNativeXForm( bool assumeYNegation );
     403    void clearNativeXForm();
     404    friend class QFontEnginePM;
     405    HPS         hps;
     406    HPAL        holdpal;
     407    HRGN        holdrgn;
     408    HBITMAP     hbrushbm;
     409    uint        nocolBrush  : 1;
     410    uint        pixmapBrush : 1;
     411    int         devh;
     412    QRegion     repaintRgn;
    385413#elif defined(Q_WS_X11)
    386414    friend class QFontEngineXLFD;
     
    545573    return hdc;
    546574}
     575#elif defined(Q_WS_PM)
     576inline HPS QPainter::handle() const
     577{
     578    return hps;
     579}
    547580#elif defined(Q_WS_X11) || defined(Q_WS_MAC)
    548581inline Qt::HANDLE QPainter::handle() const
Note: See TracChangeset for help on using the changeset viewer.