Changeset 8 for trunk/include/qpainter.h
- Timestamp:
- Nov 16, 2005, 8:36:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/qpainter.h
r7 r8 279 279 #if defined(Q_WS_WIN) 280 280 HDC handle() const; 281 #elif defined(Q_WS_PM) 282 HPS handle() const; 281 283 #elif defined(Q_WS_X11) || defined(Q_WS_MAC) 282 284 HANDLE handle() const; … … 301 303 void mapInv( int, int, int *, int * ) const; 302 304 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 303 316 void drawPolyInternal( const QPointArray &, bool close=TRUE ); 317 #endif 304 318 void drawWinFocusRect( int x, int y, int w, int h, bool xorPaint, 305 319 const QColor &penColor ); … … 368 382 #endif 369 383 384 #if !defined(Q_WS_PM) 370 385 void *penRef; // pen cache ref 371 386 void *brushRef; // brush cache ref 387 #endif 372 388 void *ps_stack; 373 389 void *wm_stack; … … 383 399 friend class QFontEngineBox; 384 400 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; 385 413 #elif defined(Q_WS_X11) 386 414 friend class QFontEngineXLFD; … … 545 573 return hdc; 546 574 } 575 #elif defined(Q_WS_PM) 576 inline HPS QPainter::handle() const 577 { 578 return hps; 579 } 547 580 #elif defined(Q_WS_X11) || defined(Q_WS_MAC) 548 581 inline Qt::HANDLE QPainter::handle() const
Note:
See TracChangeset
for help on using the changeset viewer.