Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
Hi,

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

[Updated on: Thu, 29 March 2012 07:29] by 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 Jul 23 15:26:34 EDT 2025

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

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

Back to the top