×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    30

    Problems with bitmap drawing

    I am trying to draw a small bitmap image vertically on the screen using CPeriodic to give a scrolling effect.


    First of all the "gc.BitBlt(Position, iBitmap );" crashes, so i used CEikImage for drawing bitmap(gc.BitBlt(Position, iPlayImage1->Bitmap());)

    Now, when i call DrawNow() again providing new Position to Draw() the bitmap its not drawing.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Problems with bitmap drawing

    And what is the crash code ?, you propably have some problems with your image loading in there..

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    30

    Re: Problems with bitmap drawing

    Quote Originally Posted by symbianyucca View Post
    And what is the crash code ?, you propably have some problems with your image loading in there..
    No crash code ... and MBM is perfectly fine because i'm able to draw the bitmap first time.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Problems with bitmap drawing

    you did say First of all the "gc.BitBlt(Position, iBitmap );" crashes, so revert back and find out what it is, then do see that your loading code does not give you any errors, and that you have the image sized to somehting real..

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    30

    Re: Problems with bitmap drawing

    Yeah right, but now "gc.BitBlt(Position, iBitmap )" is not crashing somehow. :-)

    but its still not re-drawing the bitmap when i call DrawNow() providing new cordinates.

  6. #6
    Registered User
    Join Date
    Aug 2008
    Location
    Hyderabad
    Posts
    35

    Re: Problems with bitmap drawing

    Hi ,
    Can you share your code so that we can get an idea of what you want to draw and how your drawing.
    B V N S Gangadhar Rao

Similar Threads

  1. WServ 7 Panic while drawing svg bitmap
    By vaibhavjain in forum Symbian User Interface
    Replies: 4
    Last Post: 2009-04-29, 13:32
  2. Drawing bitmap quality problem
    By JamesWoods in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2006-06-14, 16:33
  3. Bitblt/Bitmap drawing problems (n00b problem)
    By KimiRaikkonen in forum Symbian
    Replies: 12
    Last Post: 2005-08-24, 16:57
  4. Offscreen drawing and cursor
    By tolnaisz in forum Symbian
    Replies: 0
    Last Post: 2003-05-12, 17:20
  5. OTA Bitmap encoding
    By nkn_knockia in forum Smart Messaging
    Replies: 1
    Last Post: 2001-11-08, 15:37

Posting Permissions

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