Kaydet (Commit) c6a11e82 authored tarafından Katarina Behrens's avatar Katarina Behrens

drawBitmap that takes BitmapBuffer as input

Change-Id: Icc0f63fac38b1476100d790a99065ad29d17bc6a
üst 2f0e0579
......@@ -1204,6 +1204,12 @@ void SvpSalGraphics::drawBitmap(const SalTwoRect& rTR, const SalBitmap& rSourceB
copySource(rTR, source);
}
void SvpSalGraphics::drawBitmap(const SalTwoRect& rTR, BitmapBuffer* pBuffer)
{
cairo_surface_t* source = createCairoSurface( pBuffer );
copySource(rTR, source);
}
void SvpSalGraphics::drawBitmap( const SalTwoRect& rTR,
const SalBitmap& rSourceBitmap,
const SalBitmap& rTransparentBitmap )
......
......@@ -212,6 +212,8 @@ public:
SalGraphics* pSrcGraphics ) override;
virtual void drawBitmap( const SalTwoRect& rPosAry,
const SalBitmap& rSalBitmap ) override;
virtual void drawBitmap( const SalTwoRect& rPosAry,
BitmapBuffer* pBuffer );
virtual void drawBitmap( const SalTwoRect& rPosAry,
const SalBitmap& rSalBitmap,
const SalBitmap& rTransparentBitmap ) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment