|
Freeciv-3.2
|
Go to the source code of this file.
Data Structures | |
| struct | canvas |
Functions | |
| 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) |
| void | image_copy (QImage *dest, QImage *src, int src_x, int src_y, int dest_x, int dest_y, int width, int height) |
| 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 | ||
| ) |
Copies an area from the source image to the destination image.
Definition at line 120 of file canvas.cpp.
Referenced by minimap_thread::run().
| void pixmap_copy | ( | QPixmap * | dest, |
| QPixmap * | src, | ||
| int | src_x, | ||
| int | src_y, | ||
| int | dest_x, | ||
| int | dest_y, | ||
| int | width, | ||
| int | height | ||
| ) |
Copies an area from the source pixmap to the destination pixmap.
Definition at line 101 of file canvas.cpp.
Create a canvas of the given size.
Definition at line 36 of file canvas.cpp.
Return rectangle containing pure image (crops transparency)
Definition at line 419 of file canvas.cpp.
Referenced by units_select::create_pixmap(), hud_unit_combat::init_images(), progress_bar::set_pixmap(), unit_item::unit_item(), unittype_item::unittype_item(), and hud_units::update_actions().