×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    2

    Need help for ScaleL

    Hello,
    I am trying to scale a source CFbsBitmap bitmap to a destination CFbsBitmap with the ScaleL method.
    It does not work. I have a crash like this "Unhandled exception in epoc.exe (FBSCLI.DLL) ..."
    Below my code source :

    TSize OverallSizeInPixels;
    DestinationFbsBitmap = new CFbsBitmap();
    OverallSizeInPixels.iHeight = nHeight;
    OverallSizeInPixels.iWidth = nWidth;
    DestinationFbsBitmap->Create(OverallSizeInPixels, CCoeEnv::Static()->ScreenDevice()->DisplayMode());

    TRAPD(err,m_oScaler->ScaleL(*this, *SourceFbsBitmap, *DestinationFbsBitmap));

    Can anyone help me ?
    Thanks.

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    Do you know what line exactly crashes the emulator?

    How does your MiuoConvertComplete() look like?

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    2
    Hello sopta007,
    Thank you for your reply.
    I found the problem.
    In fact something was wrong in my CFbsBitmap destination cause of a bad assignment in my code.
    So, now, ScaleL works well.

    Regards.

Posting Permissions

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