get_sub_thumbnail


Description:

[ Version ( since = "2.2" ) ]
public Pixbuf get_sub_thumbnail (int src_x, int src_y, int src_width, int src_height, int dest_width, int dest_height, PixbufTransparency alpha)

Retrieves a thumbnail pixbuf for the drawable identified by this.

The thumbnail will be not larger than the requested size.

Parameters:

this

the drawable ID

src_x

the x coordinate of the area

src_y

the y coordinate of the area

src_width

the width of the area

src_height

the height of the area

dest_width

the requested thumbnail width (<= 1024 pixels)

dest_height

the requested thumbnail height (<= 1024 pixels)

alpha

how to handle an alpha channel

Returns:

a new Pixbuf