×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    36

    CFbsBitGc and CWindowGc

    Hello,

    I am using a complex method of drawing (using CGraphicsContext's methods) to create a picture on screen. This needs to be redrawn every frame, because I am drawing over it in different places.

    The phone I am testing on is not fast enough to redraw the image every frame on the CWindowGc, so I would like to use CFbsBitGc and just draw that to the CWindowGc every frame and update it when needed. Is this possible?

    I was trying to create a CFbsBitmap from the CFbsBitGc but am having no luck.

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

    Re: CFbsBitGc and CWindowGc

    If you search for "off-screen" in the SDK Help (include the quotes too), you will get a "How to" about that.

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    15

    Re: CFbsBitGc and CWindowGc

    Quote Originally Posted by mikezs View Post
    Hello,

    I am using a complex method of drawing (using CGraphicsContext's methods) to create a picture on screen. This needs to be redrawn every frame, because I am drawing over it in different places.

    The phone I am testing on is not fast enough to redraw the image every frame on the CWindowGc, so I would like to use CFbsBitGc and just draw that to the CWindowGc every frame and update it when needed. Is this possible?

    I was trying to create a CFbsBitmap from the CFbsBitGc but am having no luck.

    you can download the Camera example from this site and read the cameracontainer code to get what you want .

Similar Threads

  1. problem deriving from CWindowGc
    By henpe008 in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-07-22, 09:54
  2. Difference between CFbsBitGc and CWindowGc[Performance-wise]?
    By mayur_24 in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2006-08-16, 10:31
  3. DrawText using CFbsBitGc
    By zhenLeow in forum Symbian
    Replies: 4
    Last Post: 2005-06-03, 08:05

Posting Permissions

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