Home | History | Annotate | Download | only in gtk

Lines Matching refs:pixbuf

82   CairoCachedSurface* pixbuf = PixbufForState(paint_state);
85 if (!pixbuf || !pixbuf->valid())
99 // The widget might be larger than the pixbuf. Paint the pixbuf flush with the
101 gfx::Rect bounds = gfx::Rect(0, 0, pixbuf->Width(), 0);
103 int y = widget->allocation.height - pixbuf->Height();
110 pixbuf->SetSource(cairo_context, x, y);
137 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&img);
138 background_image_->UsePixbuf(pixbuf);
139 g_object_unref(pixbuf);
160 CairoCachedSurface* pixbuf = surfaces_[state].get();
163 if (!pixbuf || !pixbuf->valid())
164 pixbuf = surfaces_[GTK_STATE_NORMAL].get();
166 return pixbuf;