Kaydet (Commit) 662f88b0 authored tarafından Caolán McNamara's avatar Caolán McNamara

I don't think we should clip when using getBitmap

this solves the bug of icons in the standard toolbar
under gtk3 of getting rendered with a black background
on first render

Change-Id: I73bae4cd0b9f38c9e9caef8019d773d42b5e8f10
üst bbd419d9
......@@ -658,8 +658,7 @@ SalBitmap* SvpSalGraphics::getBitmap( long nX, long nY, long nWidth, long nHeigh
basegfx::B2IBox aSrcRect( nX, nY, nX+nWidth, nY+nHeight );
basegfx::B2IBox aDestRect( 0, 0, nWidth, nHeight );
SvpSalGraphics::ClipUndoHandle aUndo( this );
if (!isClippedSetup(aDestRect, aUndo) && aCopy)
if (aCopy)
aCopy->drawBitmap( m_aOrigDevice, aSrcRect, aDestRect, basebmp::DrawMode_PAINT );
SvpSalBitmap* pBitmap = new SvpSalBitmap();
......
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