xcb_image.h | xcb_image.h | |||
---|---|---|---|---|
skipping to change at line 491 | skipping to change at line 491 | |||
* @param dest_x The x coordinate, which is relative to the origin of the | * @param dest_x The x coordinate, which is relative to the origin of the | |||
* drawable and defines the x coordinate of the upper-left corner of the | * drawable and defines the x coordinate of the upper-left corner of the | |||
* rectangle. | * rectangle. | |||
* @param dest_y The y coordinate, which is relative to the origin of the | * @param dest_y The y coordinate, which is relative to the origin of the | |||
* drawable and defines the x coordinate of the upper-left corner of | * drawable and defines the x coordinate of the upper-left corner of | |||
* the rectangle. | * the rectangle. | |||
* @param src_width The width of the subimage, in pixels. | * @param src_width The width of the subimage, in pixels. | |||
* @param src_height The height of the subimage, in pixels. | * @param src_height The height of the subimage, in pixels. | |||
* @param send_event Indicates whether or not a completion event | * @param send_event Indicates whether or not a completion event | |||
* should occur when the image write is complete. | * should occur when the image write is complete. | |||
* @return 1 is no problems occurs. | * @return a pointer to the source image if no problem occurs, otherwise 0. | |||
* | * | |||
* This function combines an image in memory with a shape of the | * This function combines an image in memory with a shape of the | |||
* specified drawable. The section of the image defined by the @p x, @p y, | * specified drawable. The section of the image defined by the @p x, @p y, | |||
* @p width, and @p height arguments is drawn on the specified part of | * @p width, and @p height arguments is drawn on the specified part of | |||
* the drawable. If XYBitmap format is used, the depth must be | * the drawable. If XYBitmap format is used, the depth must be | |||
* one, or a``BadMatch'' error results. The foreground pixel in the | * one, or a``BadMatch'' error results. The foreground pixel in the | |||
* Graphic Context @p gc defines the source for the one bits in the | * Graphic Context @p gc defines the source for the one bits in the | |||
* image, and the background pixel defines the source for the zero | * image, and the background pixel defines the source for the zero | |||
* bits. For XYPixmap and ZPixmap, the depth must match the depth of | * bits. For XYPixmap and ZPixmap, the depth must match the depth of | |||
* the drawable, or a ``BadMatch'' error results. | * the drawable, or a ``BadMatch'' error results. | |||
* | * | |||
* If a problem occurs, the function returns @c 0. Otherwise, it | ||||
* returns @c 1. | ||||
* @ingroup xcb__image_t | * @ingroup xcb__image_t | |||
*/ | */ | |||
xcb_image_t * | xcb_image_t * | |||
xcb_image_shm_put (xcb_connection_t * conn, | xcb_image_shm_put (xcb_connection_t * conn, | |||
xcb_drawable_t draw, | xcb_drawable_t draw, | |||
xcb_gcontext_t gc, | xcb_gcontext_t gc, | |||
xcb_image_t * image, | xcb_image_t * image, | |||
xcb_shm_segment_info_t shminfo, | xcb_shm_segment_info_t shminfo, | |||
int16_t src_x, | int16_t src_x, | |||
int16_t src_y, | int16_t src_y, | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||