×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2006
    Location
    Germany
    Posts
    598

    Question SVG manipulation API

    I would like to produce CFbsBitmap from SVG files. What API should I use to do that? I had a quick look at aknsutils.h stuff but I think it's not what I want.

    Basically I have a heavily customized UI using bitmaps and would like to use SVG instead but not the skin itself.

    Mmmh, I wonder if I should use something like OpenVG?

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: SVG manipulation API

    The S60 APIs are designed to load SVG-T files from MIFs but that should not be a problem for you. You can use the CreateIcon to load the graphic, resize it as needed and then blit it in your application.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Super Contributor
    Join Date
    Jul 2008
    Location
    Chennai,India
    Posts
    889

    Re: SVG manipulation API

    The S60 APIs are designed to load SVG-T files from MIFs but that should not be a problem for you. You can use the CreateIcon to load the graphic, resize it as needed and then blit it in your application.
    K Itomuta, I have a doubt...
    The above is for stored SVG's...If we want SVG's to be used dynamically at run-time wat to do then???

    Consider SVG/SVG-T's being downloaded during runtime and try to use them...Can we???

  4. #4
    Registered User
    Join Date
    May 2006
    Location
    Germany
    Posts
    598

    Re: SVG manipulation API

    MIF would do just fine for my purpose. I would just need to have a look at the SVG to MIF compiler stuff and since we already use it for application icons that should be no big deal.

    I understand MIF is to SVG what MBM is to BMP right?

    I compile my SVGs as MIF and load my MIF using the API from akniconutils.h right?

    'Icon utils' naming sounds a bit restrictive but I assume I can scale my vector graphics to any size I want.

    Thanks for the pointer guys.

Similar Threads

  1. Answer incoming call silently
    By tote_b5 in forum Symbian Networking & Messaging (Closed)
    Replies: 33
    Last Post: 2011-05-25, 11:39
  2. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 29
    Last Post: 2008-06-30, 11:47
  3. SVG API / Scalable User Interface - Bug in Emulator
    By thunder7553 in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2006-03-14, 08:58
  4. ANN: TinyLine SVG Toolkit 1.10 released
    By girow in forum News and Announcements
    Replies: 2
    Last Post: 2006-03-11, 13:19
  5. ANN: TinyLine SVG Player and SDK 1.8 released
    By girow in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-11-15, 07:16

Posting Permissions

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