struct canvas int int struct sprite int int int int height
struct canvas int int struct sprite int int int width
QRect zealous_crop_rect(QImage &p)
void image_copy(QImage *dest, QImage *src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
struct canvas * qtg_canvas_create(int width, int height)
void pixmap_copy(QPixmap *dest, QPixmap *src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)