Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Java SWT Image and Transparency
Java SWT Image and Transparency [message #830481] Tue, 27 March 2012 17:42 Go to next message
Andrew Martinyk is currently offline Andrew MartinykFriend
Messages: 2
Registered: March 2012
Junior Member
Hello! I need to create an image with layers. The bottom layer - png-image without transparency, the top - transparent png image.
GUI on SWT. I am used GC class for drawing on Image, which is the result. After that, I am set Image-object in the Canvas. The problem is that when drawing the transparency is lost. How to keep transparency and to implement what I need?
Re: Java SWT Image and Transparency [message #831808 is a reply to message #830481] Thu, 29 March 2012 11:29 Go to previous message
Lakshmi ShanmugamFriend
Messages: 275
Registered: July 2009
Location: India
Senior Member

Which platform and eclipse version are you using? Can you post some sample code that shows the problem?

Lakshmi P Shanmugam

[Updated on: Thu, 29 March 2012 11:29]

Report message to a moderator

Previous Topic:Cannot set Shell to full screen on Linux
Next Topic:SWT error while trying to create JavaServer Faces project
Goto Forum:

Current Time: Tue May 22 10:24:35 GMT 2018

Powered by FUDForum. Page generated in 0.01511 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top