Title: Samsung Enterprise Portal mySingle
Hi Jack,
Even i was looking for the same sometime ago and could not find any direct
API to do this. If some body knows, pls. help. I managed to achieve it by some
workaround.
Get the pixel data for every pixel surface by using surface's Lock API and
modify the alpha content as required ( eg. for 32 bit, color format ARGB, modify
the 4th byte as required ).
Hope it helps.
Thanks,
Sumit Panwar
------- Original Message -------
Sender : Jack W<ji...@yahoo.com>
Date : Nov 13, 2009 04:06 (GMT+09:00)
Title : Re: [directfb-dev] Applying different alpha values for different
regions in the same window
Hi Niels,
I am a beginner to DFB. Could you let me how to set the value of a specified on a surface? For example, can I set the to 50% transparent of all the
pixel in the top half of a image surface?
I tried SetSourceMask to get a semi-transparent image by using an alpha png file on a normal jpg image. But it did not work. My previous post described my problem. I read the DirectFB demo df_dok. But still cannot figure it out.
Thank you very much for any
help!
-Jack
--- On Thu, 11/12/09, Niels Roest <niels@
directfb.org> wrote:
From: Niels Roest <niels@
directfb.org> Subject: Re: [
directfb-dev] Applying different
alpha values for different regions in the same window To: "Rajesh k" <krajes...@gmail.com> Cc:
directfb-dev@
directfb.org Date: Thursday, November 12, 2009, 7:13 AM
You cannot. Either make multiple windows, or use a per-
pixel-
alpha-value.
Rajesh k wrote: > Hi All, > > How can we apply different
alpha values for different regions in the > same window? > > > Thanks for the help in advance. > > > ~Rajesh.k > _______________________________________________ >
directfb-dev mailing list >
directfb-dev@
directfb.org > http://mail.
directfb.org/cgi-bin/mailman/listinfo/
directfb-dev > >
--
.------------------------------------------. |
DirectFB - Hardware accelerated graphics | | http://www.
directfb.org/ | "------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@
directfb.org http://mail.
directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
|
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev