×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    148

    CGraphicsContext::EDrawModeNOTSCREEN problem in Anna and Belle

    Starting with Symbian Anna/Symbian ^3 SDK (AFAICS), CGraphicsContext::EDrawModeNOTSCREEN has changed.

    Before (since EPOC, in fact), this call could be used to invert a rectangle on the screen by drawing that rectangle inverted. But starting with Anna or Symbian ^3 this has changed, now just a white rectangle is being drawn. I cannot find any mention of this at all in the docs, and the docs are in fact saying that this is still how it is supposed to be working.

    Can anybody shed some light on this issue?
    Sander van der Wal
    www.mBrainSoftware.com

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,698

    Re: CGraphicsContext::EDrawModeNOTSCREEN problem in Anna and Belle

    It may have something to do with the screen mode. Starting from Symbian^3 it always has an alpha channel or something like that.

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2010
    Posts
    24

    Re: CGraphicsContext::EDrawModeNOTSCREEN problem in Anna and Belle

    Yes, ScreenPlay aka New Graphics Architecture (NGA) did change things.

    This is mentioned in Nokia Symbian^3 Developers Library > Porting applications from S60 5th Edition to Symbian^3 > API Changes and Compatibility Breaks
    http://library.developer.nokia.com/t...8C6989A2C.html

    Maybe you can workaround the changes to CRemoteGc::SetDrawMode() and CWindowGc::SetDrawMode() by using CFbsBitGc to render to an off-screen bitmap first as mentioned in the SDK docs?

Similar Threads

  1. How to access playlists in Symbian Anna/Belle?
    By soukko in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2012-05-21, 19:03
  2. Create a homescreen widget for Anna / Belle
    By strelamcqueen in forum Qt
    Replies: 1
    Last Post: 2012-05-15, 08:13
  3. Replies: 12
    Last Post: 2012-03-22, 16:12
  4. Do I have to build two sis files for Anna and Belle or one is enough?
    By hutigers in forum Publishing to Nokia Store
    Replies: 1
    Last Post: 2012-03-04, 08:24

Posting Permissions

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