Freeciv21
Develop your civilization from humble roots to a global empire
drawn_sprite.h File Reference
#include <QPoint>
#include <vector>
+ Include dependency graph for drawn_sprite.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  drawn_sprite
 

Functions

QRect sprite_array_bounds (const std::vector< drawn_sprite > &sprs)
 Calculates the bounding rectangle of the given sprite array. More...
 

Function Documentation

◆ sprite_array_bounds()

QRect sprite_array_bounds ( const std::vector< drawn_sprite > &  sprs)

Calculates the bounding rectangle of the given sprite array.

Definition at line 38 of file drawn_sprite.cpp.

Referenced by freeciv::city_icon_widget::paintEvent(), and freeciv::city_icon_widget::sizeHint().