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 13:42 Go to next message
Andrew Martinyk is currently offline Andrew Martinyk
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 07:29 Go to previous message
Lakshmi Shanmugam
Messages: 274
Registered: July 2009
Location: India
Senior Member
Hi,

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 07: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: Wed Apr 16 12:17:58 EDT 2014

Powered by FUDForum. Page generated in 0.01790 seconds