×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    3

    Graphics contest at MIDP 2.0

    Hi guys,
    I wonder how can I get the graphics pointer to image in backbuffer before I use flushGraphics ? Is it possible work direct on bitmap in backbuffer (MIDP 2) at all?

    many thanks for any hints

    regards

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Graphics contest at MIDP 2.0

    hi,

    that way?
    Code:
    // Get the Graphics object for the off-screen buffer
     Graphics g = getGraphics();
    protected Graphics getGraphics()
    Obtains the Graphics object for rendering a GameCanvas. The returned Graphics object renders to the off-screen buffer belonging to this GameCanvas.
    "g" is pointer to off-screen buffer (let's call it image)
    hth,
    regards,
    Peter

Similar Threads

  1. Most Nokia Phones are MIDP 1.0 - how about MIDP 2.0?
    By mibuyt in forum Mobile Java General
    Replies: 0
    Last Post: 2003-09-27, 12:47
  2. Will Nokia support 100% MIDP 2.0???
    By gicio in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2003-08-18, 11:23
  3. Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working
    By mattbee in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-06-10, 11:43
  4. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05
  5. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

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