Archived:JSR-226 - ScalableGraphics.render() may cause artifacts with overlapping transparent images (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
Article Metadata
Compatibility
Platform(s): S60 3rd Edition, FP1 MIDP SDK
Article
Created: User:Technical writer 1
(31 Aug 2007)
Last edited: hamishwillee
(28 Jun 2012)
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.


(no comments yet)