- Timestamp:
- 08/15/08 13:25:16 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/WKAL/Concretizations/Graphics/WK/BCAffineTransformWK.h
r243 r437 29 29 #if PLATFORM(CG) 30 30 #include <CoreGraphics/CGAffineTransform.h> 31 typedef CGAffineTransform PlatformAffineTransform; 31 32 #elif PLATFORM(QT) 32 33 #include <QMatrix> 34 typedef QMatrix PlatformAffineTransform; 33 35 #elif PLATFORM(CAIRO) 34 36 #include <cairo.h> 37 typedef cairo_matrix_t PlatformAffineTransform; 35 38 #elif PLATFORM(WX) && USE(WXGC) 36 39 #include <wx/defs.h> 37 40 #include <wx/graphics.h> 41 typedef wxGraphicsMatrix PlatformAffineTransform; 38 42 #endif 39 43 … … 49 53 AffineTransform(); 50 54 AffineTransform(double a, double b, double c, double d, double e, double f); 51 #if PLATFORM(CG) 52 AffineTransform(CGAffineTransform transform); 53 #elif PLATFORM(QT) 54 AffineTransform(const QMatrix &matrix); 55 #elif PLATFORM(CAIRO) 56 AffineTransform(const cairo_matrix_t &matrix); 57 #elif PLATFORM(WX) && USE(WXGC) 58 AffineTransform(const wxGraphicsMatrix &matrix); 55 #if !PLATFORM(WX) || USE(WXGC) 56 AffineTransform(const PlatformAffineTransform&); 59 57 #endif 60 58 … … 106 104 AffineTransform inverse() const; 107 105 108 #if PLATFORM(CG) 109 operator CGAffineTransform() const; 110 #elif PLATFORM(QT) 111 operator QMatrix() const; 112 #elif PLATFORM(CAIRO) 113 operator cairo_matrix_t() const; 114 #elif PLATFORM(WX) && USE(WXGC) 115 operator wxGraphicsMatrix() const; 106 #if !PLATFORM(WX) || USE(WXGC) 107 operator PlatformAffineTransform() const; 116 108 #endif 117 109 … … 122 114 123 115 private: 124 #if PLATFORM(CG) 125 CGAffineTransform m_transform; 126 #elif PLATFORM(QT) 127 QMatrix m_transform; 128 #elif PLATFORM(CAIRO) 129 cairo_matrix_t m_transform; 130 #elif PLATFORM(WX) && USE(WXGC) 131 wxGraphicsMatrix m_transform; 116 #if !PLATFORM(WX) || USE(WXGC) 117 PlatformAffineTransform m_transform; 132 118 #endif 133 119 };
