Re: pixbuf outermost pixels are white

2013-08-23 Thread Jan Kratochvil
On Fri, 23 Aug 2013 21:15:14 +0200, Søren Sandmann wrote: > You probably want to set the extend mode to CAIRO_EXTEND_PAD by doing > the C++ equivalent of this: > > cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_PAD); > > after setting the pixbuf as the cairo source. It really

Re: pixbuf outermost pixels are white

2013-08-23 Thread Søren Sandmann
Jan Kratochvil writes: > Hi, > > I found somewhere on web how to draw custom data images into a widget using > Pixbuf. It basically works. > > Unfortunately the image always has the outermost source pixels mixed with > white border. I want the whole window to be just blue but it is not: >