Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2006

    Question How to resize and draw a svg picture?

    I have made a mif file from some svg files. But i don't know how to resize and draw it.
    I have tried to create a CFbsBitmap using AknIconUtils::CreateIconL. But the app crashed when i tried to draw it using the followed codes:
    CWindowGc& gc = SystemGc();
    gc.DrawBitmap(aRect, iImgBackground);

    Anyone can help me? Thanks a million!

    BTW, the app works excellent if i use bitmap rather than svg.

  2. #2
    Super Contributor
    Join Date
    Oct 2005

    Re: How to resize and draw a svg picture?

    if you are using svg icons you need to set the size.
    you can use SetSize() for this.

    It has been discussed quite number of times.please make use of the search facility.


Similar Threads

  1. Resize and edit Pixels in ViewFinderFrameReady or FrameBufferReady
    By kathalora in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-03-03, 06:40

Posting Permissions

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