RE : GdkImage trouble




On Thursday 12 Jun 2003 2:32 pm, David Scrève wrote:
Hello,

    I would like to create an off-screen buffer that is a 
GdkDrawable, 
but that allows to access to the image buffer too. GdkImage 
seems to 
be perfect, but it does not seems to be able to create a GdkImage 
without any GdkVisual that support the same depth.
    For example, I have only one Visual with depth, but I 
would like to 
be able to create GdkImage with depth of 8 or 24 or 32.
    I know there is GdkRGB, but GdkRGB is not a 
GdkDrawable, forbidding 
me to use standard graphic operation on it.

    Is there any workaround/solution for that ?


Why not create and use a pixmap?

        Because PixMap is a server side data, and you cannot poke inside the
picture buffer...

David




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