×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    7

    Drawing Svg/svgt/mif files

    Can someone place example code for drawing svg/svgt/of mif files on s60 3rd edition. Please, please,please its urgent.

    Thanks in Advance

    Karim Jiwani

  2. #2
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: Drawing Svg/svgt/mif files

    Hello,
    maybe this will help you:

    initializing:
    Code:
    CFbsBitmap *iBitmap, *iMask;
    AknIconUtils::CreateIconL(iBitmap, iMask, KVrexFile,
    			EMyApp_mbg_file_image_index , EMyApp_mbg_file_image_index_mask);
    AknIconUtils::SetSize(iBitmap, TSize( 40,40), EAspectRatioPreserved);
    AknIconUtils::SetSize(iMask, TSize( 40, 40), EAspectRatioPreserved);
    drawing in Draw() of CCoeControl class:
    Code:
    gc.BitBltMasked(TPoint(size1, size2), iBitmap, TRect(
        			TPoint(0, 0), TPoint(40, 40)), iMask, EFalse);
    good luck

Similar Threads

  1. Problem packaging and deploying files
    By raffaelbechara in forum Symbian
    Replies: 4
    Last Post: 2008-10-24, 14:53
  2. How to enable security to the files on Memory Card
    By manojkumar.m in forum Mobile Java General
    Replies: 1
    Last Post: 2008-10-04, 18:29
  3. missing header files from FP1 SDK & Plug-ins.
    By ruchirvasavada in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2008-09-08, 20:54

Posting Permissions

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