Module gtkimageview :: Class PixbufDrawOpts
[frames] | no frames]

Class PixbufDrawOpts

Container class which holds options for how the pixbuf should be drawn. Options include such things like the source rectangle in the pixbuf to draw, where to draw it, which zoom to use and so on.

See Also: PixbufDrawCache.draw()

Instance Methods
 
__init__(self, zoom, zoom_rect, widget_x, widget_y, interp, pixbuf, check_color1, check_color2)
Instance Variables
  zoom
Zoom factor.
  zoom_rect
Rectangle in zoom space coordinates of the area to draw.
  widget_x
X-coordinate of the draw location on the widget.
  widget_y
Y-coordinate of the draw location on the widget.
  interp
Which gtk.gdk.InterpType to use.
  pixbuf
Pixbuf to draw from.
  check_color1
The first color to use for drawing transparent parts.
  check_color2
The second color to use for drawing transparent parts.