a GdkDrawable, or NULL if a new image should be created. [allow-none]
x coordinate on drawable
y coordinate on drawable
x coordinate within image. Must be 0 if image is NULL
y coordinate within image. Must be 0 if image is NULL
width of region to get
height or region to get
image, or a new a GdkImage containing the contents of drawable
Warning gdk_drawable_copy_to_image has been deprecated since version 2.22 and should not be used in newly-written code. Use drawable as the source and draw to a Cairo image surface if you want to download contents to the client. Copies a portion of drawable into the client side image structure image. If image is NULL, creates a new image of size width x height and copies into that. See gdk_drawable_get_image() for further details. Since 2.4