On Tue, Jul 12, 2005 at 05:11:38PM +0300, Olexiy Avramchenko wrote:
> There's one trick:
> 1. Create a pixmap with depth of 32.
> 2. Create gc for the pixmap.
> 3. Set the 32-bit colour you want with gdk_gc_set_foreground()
> (0xAABBGGRR for the little-endian boxes, 0xRRGGBBAA for the big-endian
David Necas (Yeti) wrote:
Is it possible to use Gdk drawing functions (gdk_draw_arc(),
etc.) to draw images of higher depth than system and save
them?
I can save GdkPixbufs. If there were drawing primitives in
gdk-pixbuf, it would be everything I need. However I can
draw only on GdkDrawables.
On 6/30/05, David Necas (Yeti) <[EMAIL PROTECTED]> wrote:
> Is it possible to use Gdk drawing functions (gdk_draw_arc(),
> etc.) to draw images of higher depth than system and save
> them?
My understanding is unfortunately no. X servers can only draw to the
visuals they know about, and if a server
Is it possible to use Gdk drawing functions (gdk_draw_arc(),
etc.) to draw images of higher depth than system and save
them?
I can save GdkPixbufs. If there were drawing primitives in
gdk-pixbuf, it would be everything I need. However I can
draw only on GdkDrawables.
To use gdk_pixbuf_get_from