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 P ShanmugamFriend
Messages: 279
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 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: Fri Apr 19 21:24:39 GMT 2024

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

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

Back to the top