Re: Drawing Area issues ( continued, with example )




Hi Emmanuele,

Thank you for the answer here. Very helpful.

There is a code comment in gdkinternals.h that says

struct _GdkWindow
{
...
  struct {
    /* The temporary surface that we're painting to. This will be composited
     * back into the window when we call end_paint. This is our poor-man's
     * way of doing double buffering. */
    cairo_surface_t *surface;
...

This was how I was thinking about it. It is internal but the widgets GdkWindow surface is used. Right? Or is the only cairo surface being used to draw on is the top level GdkWindow surface by default?

By the way, Thanks for all the work you have done putting some of this stuff together. A lot more drawing potential in GTK these days.

Eric



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