×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jan 2006
    Posts
    174

    DrawBitmapMasked crashed on S60 2nd Fp1 and Fp2 devices????

    In my application, I used transparent PNG for graphics. it will generate one bitmap and one mask bitmap. I use DrawBitmapMasked to render the picture, got crash when invoke "DrawBitmapMasked" on 6600/3230/6680. any idea?
    Code is following:
    Code:
    void Graphics::stretchBlt (SInt32 x, SInt32 y, SInt32 dx, SInt32 dy, SBitmap* pSrc, SInt32 srcX, SInt32 srcY, SInt32 rasterop)
    		{
    		if (m_pBitmapGc == NULL) return;
    		TRect destrc(TPoint(x, y), TSize(dx, dy));
    		TRect srcrc(TPoint(0, 0), pSrc->m_Bitmap->SizeInPixels());
    		if(pSrc->m_MaskBitmap != NULL)
    			{	
    			__LOG("DrawBitmapMasked");
    		//	m_pBitmapGc->DrawBitmapMasked(destrc, pSrc->m_Bitmap, srcrc, pSrc->m_MaskBitmap, EFalse);
    			m_pBitmapGc->BitBltMasked(destrc.iTl, pSrc->m_Bitmap, srcrc, pSrc->m_MaskBitmap, EFalse);
    			__LOG("End DrawBitmapMasked");
    			}
    		else
    			{
    			m_pBitmapGc->DrawBitmap(destrc, pSrc->m_Bitmap);
    			}
    		}

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: DrawBitmapMasked crashed on S60 2nd Fp1 and Fp2 devices????

    You forgot telling the panic code, http://wiki.forum.nokia.com/index.ph...ded_panic_code

  3. #3
    Regular Contributor
    Join Date
    Jan 2006
    Posts
    174

    Question Re: DrawBitmapMasked crashed on S60 2nd Fp1 and Fp2 devices????

    Quote Originally Posted by wizard_hu_ View Post
    On my 3230, errcode didn't show even I have put empty file ErrRd in C:\system\bootdata.. I should work

Similar Threads

  1. Python for S60 1.9.3 released
    By tvijayan in forum Symbian
    Replies: 40
    Last Post: 2009-04-03, 15:00
  2. Python for S60 1.9.2 released
    By tvijayan in forum Symbian
    Replies: 26
    Last Post: 2009-03-11, 09:28
  3. Icons in s60
    By drizzt6 in forum Mobile Java General
    Replies: 5
    Last Post: 2009-03-06, 09:32
  4. Python for S60 1.9.0 released
    By tvijayan in forum Symbian
    Replies: 48
    Last Post: 2009-01-27, 15:39
  5. Replies: 0
    Last Post: 2007-03-16, 16:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×