The putDeviceIndependentImage:image:srcRect:destRect: method of
CgDrawable is used to display images. As with all drawing operations, the first argument is a
CgGC specifying the drawing attributes. The next argument is the image to display. The last two arguments are a source rectangle, specifying the area of the image to display, and a destination rectangle, specifying the area of the drawable in which to display the source area. If the source and destination rectangles do not have the same extent, the source area of the image is stretched or shrunk to fit in the destination area. The image can be flipped by specifying a negative width or height in the destination or source rectangles.