Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
card_art_utils.h
Go to the documentation of this file.
1
#ifndef CARD_ART_UTILS_H
2
#define CARD_ART_UTILS_H
3
4
#include <QPixmap>
5
6
class
ExactCard
;
7
8
namespace
CardArtUtils
9
{
22
QPixmap
rotateSidewaysLayoutArt
(
const
QPixmap &art,
const
ExactCard &card);
23
}
// namespace CardArtUtils
24
25
#endif
// CARD_ART_UTILS_H
ExactCard
Represents a specific card instance, defined by its CardInfo and a particular printing.
Definition
exact_card.h:24
CardArtUtils
Definition
card_art_utils.cpp:10
CardArtUtils::rotateSidewaysLayoutArt
QPixmap rotateSidewaysLayoutArt(const QPixmap &art, const ExactCard &card)
Rotates a card's art upright when its layout shows sideways.
Definition
card_art_utils.cpp:11
cockatrice
src
interface
widgets
cards
card_art_utils.h
Generated by
1.18.0