×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    21

    Angry Bug on N-Gage QD with setClip & transparency?

    If we got graphics context of real screen by:

    DirectGraphics dg = DirectUtils.getDirectGraphics(g);

    all good (we CAN use setClip and it's take affect) and as written in Nokia UI API documentation:

    Following methods in Graphics affect also rendering operations of DirectGraphics:
    clipRect(int x, int y, int width, int height)
    setClip(int x, int y, int width, int height)
    setColor(int RGB)
    setColor(int red, int green, int blue)
    setGrayScale(int value)
    setStrokeStyle(int style)
    translate(int x, int y)

    But if We uses back buffer (Image backBuffer)

    and got graphics context of buffer:

    Graphics g = backBuffer.getGraphics();
    DirectGraphics dg = DirectUtils.getDirectGraphics(g);

    The setClip doesn't work!!! It's ignored by Nokia's dg.drawImage... And draws full image without clipping.

    On emulator of Series 60 all works good, but on N-Gage QD it's work as described higher...

    And transparency by dg.setARGBColor(int argbColor) work on emulator and not work on real device....

    What can I do wrong? Or it's realy BUG?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    I don't know about the clipping, but the transparency is a known issue with Series 60 devices - it just doesn't work.

    shmoove

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    21
    I don't undestand why emulator of Series 60 support transparency and real device - no? Emulator needed for testing, and if it's not reflect real situation...

Posting Permissions

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