Freeciv21
Develop your civilization from humble roots to a global empire
drawn_sprite.cpp File Reference
#include "drawn_sprite.h"
#include "tilespec.h"
#include <QPixmap>
#include <QRect>
+ Include dependency graph for drawn_sprite.cpp:

Go to the source code of this file.

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().