Re: how can I create a pixmap with transparent background ?



1) just a quick note to point out that whether you know it or not, the
email program you are using is sending out copies of your mail in both
plain text and HTML formats. increasingly on the net, there are
filters being put in place that silently dump HTML-formatted
email. some mailing lists will not ever accept such posts. as long as
you do this, you are (1) wasting network bandwidth by sending messages
that are typically more than twice as long as they could be (2) making
it harder for people using traditional email readers to read them (3)
risking the chance that people will never see your mail because its
filtered before reaching their email inbox.


>   I have the fowlling code and I need that the backgroud for the pixmap
>   pixul to be transparent.
>=20
>   pixul=3Dgdk_pixmap_new(widget->window,20,20,-1);
>   gdk_draw_arc(pixul,gc[0],FALSE,0,0,20,20,0,64*360);
>=20
>   .....
>=20
>   gdk_draw_drawable(widget->window,gc[0],pixul,0,0,p_x-10,p_y-10,21,21);

without more information, its not possible to answer your question.
you need to describe the effect you are looking for. it may be
extremely simple or quite hard depending on your answer.

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]