×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2003
    Location
    Bahawalpur, Pakistan
    Posts
    18

    need help in scaler func()

    can anyone give me a few lines of example code of how to use the scale() function in "CBitmapScaler" supported in the 7.0s. I am using it this way.

    CFbsBitmap* iSpriteImage;
    iSpriteImage= NBitmapMethods::CreateBitmapL(KHeroBmp, 0);

    CBitmapScaler::Scale(aRequestStatus, iSpriteImage, TSize(1440,1440), aMaintainAspectRatio);

    error is:

    --"'Scale' : none of the 2 overloads can convert parameter 2 from type 'class CFbsBitmap *' "--

    please help me!!
    Amir

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

    You could try this instead:

    CPAlbBitmap::ScaleBitmapL(*Bitmap,*TempBm,MyRect, EFalse);

    yucca

Posting Permissions

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