Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 11:08, 10 September 2007.

KIJ000732 - JSR-226: ScalableGraphics.render() may cause artifacts with overlapping transparent images

From Forum Nokia Wiki

ID KIJ000732 Creation date August 31, 2007
Platform S60 3rd Edition, FP1 MIDP SDK Devices  
Category Java Subcategory Scalable 2D Vector Graphics API


Description

When using the Scalable 2D Vector Graphics API, the method ScalableGraphics.render() may cause some artifacts when it renders on top of some other image and transparency is used. The artifacts appear as horizontal black lines when rendering rather complex graphics.

How to reproduce

This issue affects JSR-226 when running on the emulator.

The issue can be reproduced with the following code snippet:

 ScalableGraphics.bindTarget();
 ScalableGraphics.setTransparency( 1f );
 ScalableGraphics.render( 0, 0, svgImage );
 ScalableGraphics.setTransparency( 0.5f );
 ScalableGraphics.render( 50, 50, svgImage );
 ScalableGraphics.releaseTarget(); 

Solution

This issue is fixed in S60 3rd Edition, FP2 MIDP SDK.

Related Discussions
Thread Thread Starter Forum Replies Last Post
Transparent Thin Status Pane? Thorsdad Themes/Carbide.ui 5 2008-05-10 18:23
Do Nokia MIDP phones support transparent PNG files? Is Nokia planning to im ask_expert Mobile Java General 1 2002-05-10 15:13
Read CML with J2ME how kokoadi Mobile Java General 3 2007-09-04 19:42
Transparency in J2ME on Series 60 andrew_nevick Mobile Java Media (Graphics & Sounds) 13 2003-07-11 15:20
Transparency question Vyts Mobile Java Media (Graphics & Sounds) 4 2006-05-31 18:49
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX