Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor PrinceAlbertz's Avatar
    Join Date
    May 2006
    Posts
    58
    The Wikipedia has an example using CBasicAnimation to display a GIF file (it works great) However, I was looking to get the size of the GIF using CBasicAnimation's Size() function in order to draw the GIF in the centre of the screen. However, it always returns 0,0 so I can't calculate where the GIFs top point should be.

    If I create a CImageDecoder and turn the first frame into a bitmap I can access the data, but this seems a bit convoluted.

    Anyone know if CBasicAnimation Size() works with GIFs?

    Thanks.

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671

Similar Threads

  1. Problem with CAknDoubleStyleListBox with a CAknSearchField
    By jjig in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-09-17, 00:58
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36
  5. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved