svpgdi.hxx (5aaf853b) | svpgdi.hxx (5f27b83c) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 36 unchanged lines hidden (view full) --- 45 46 basebmp::DrawMode m_aDrawMode; 47 48 ServerFont* m_pServerFont[ MAX_FALLBACK ]; 49 sal_uInt32 m_eTextFmt; 50 51protected: 52 virtual bool drawAlphaBitmap( const SalTwoRect&, const SalBitmap& rSourceBitmap, const SalBitmap& rAlphaBitmap ); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 36 unchanged lines hidden (view full) --- 45 46 basebmp::DrawMode m_aDrawMode; 47 48 ServerFont* m_pServerFont[ MAX_FALLBACK ]; 49 sal_uInt32 m_eTextFmt; 50 51protected: 52 virtual bool drawAlphaBitmap( const SalTwoRect&, const SalBitmap& rSourceBitmap, const SalBitmap& rAlphaBitmap ); |
53 virtual bool drawTransformedBitmap( 54 const basegfx::B2DPoint& rNull, 55 const basegfx::B2DPoint& rX, 56 const basegfx::B2DPoint& rY, 57 const SalBitmap& rSourceBitmap, 58 const SalBitmap* pAlphaBitmap); |
|
53 virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency ); 54 55public: 56 SvpSalGraphics(); 57 virtual ~SvpSalGraphics(); 58 59 const basebmp::BitmapDeviceSharedPtr& getDevice() const { return m_aDevice; } 60 void setDevice( basebmp::BitmapDeviceSharedPtr& rDevice ); --- 78 unchanged lines hidden (view full) --- 139 140 virtual void copyArea( long nDestX, 141 long nDestY, 142 long nSrcX, 143 long nSrcY, 144 long nSrcWidth, 145 long nSrcHeight, 146 sal_uInt16 nFlags ); | 59 virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency ); 60 61public: 62 SvpSalGraphics(); 63 virtual ~SvpSalGraphics(); 64 65 const basebmp::BitmapDeviceSharedPtr& getDevice() const { return m_aDevice; } 66 void setDevice( basebmp::BitmapDeviceSharedPtr& rDevice ); --- 78 unchanged lines hidden (view full) --- 145 146 virtual void copyArea( long nDestX, 147 long nDestY, 148 long nSrcX, 149 long nSrcY, 150 long nSrcWidth, 151 long nSrcHeight, 152 sal_uInt16 nFlags ); |
147 virtual void copyBits( const SalTwoRect* pPosAry, | 153 virtual void copyBits( const SalTwoRect& rPosAry, |
148 SalGraphics* pSrcGraphics ); | 154 SalGraphics* pSrcGraphics ); |
149 virtual void drawBitmap( const SalTwoRect* pPosAry, | 155 virtual void drawBitmap( const SalTwoRect& rPosAry, |
150 const SalBitmap& rSalBitmap ); | 156 const SalBitmap& rSalBitmap ); |
151 virtual void drawBitmap( const SalTwoRect* pPosAry, | 157 virtual void drawBitmap( const SalTwoRect& rPosAry, |
152 const SalBitmap& rSalBitmap, 153 SalColor nTransparentColor ); | 158 const SalBitmap& rSalBitmap, 159 SalColor nTransparentColor ); |
154 virtual void drawBitmap( const SalTwoRect* pPosAry, | 160 virtual void drawBitmap( const SalTwoRect& rPosAry, |
155 const SalBitmap& rSalBitmap, 156 const SalBitmap& rTransparentBitmap ); | 161 const SalBitmap& rSalBitmap, 162 const SalBitmap& rTransparentBitmap ); |
157 virtual void drawMask( const SalTwoRect* pPosAry, | 163 virtual void drawMask( const SalTwoRect& rPosAry, |
158 const SalBitmap& rSalBitmap, 159 SalColor nMaskColor ); 160 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 161 virtual SalColor getPixel( long nX, long nY ); 162 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 163 virtual void invert( sal_uLong nPoints, const SalPoint* pPtAry, SalInvert nFlags ); 164 165 virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSize ); 166 167 virtual SystemGraphicsData GetGraphicsData() const; 168 virtual SystemFontData GetSysFontData( int nFallbacklevel ) const; 169}; 170 171#endif 172 | 164 const SalBitmap& rSalBitmap, 165 SalColor nMaskColor ); 166 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 167 virtual SalColor getPixel( long nX, long nY ); 168 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 169 virtual void invert( sal_uLong nPoints, const SalPoint* pPtAry, SalInvert nFlags ); 170 171 virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSize ); 172 173 virtual SystemGraphicsData GetGraphicsData() const; 174 virtual SystemFontData GetSysFontData( int nFallbacklevel ) const; 175}; 176 177#endif 178 |