![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
カードの描画用の情報 More...
#include <PlayingCard.hpp>
Public Member Functions | |
CardInfo ()=default | |
デフォルトコンストラクタ More... | |
CardInfo (const Card &card, const Font &font, const Font &fontLarge, const Font &fontEmoji, const Vec2 &size, double frameThickness, const ColorF &backSideColor) | |
カードの情報を作成します。 More... | |
void | drawBack (const Vec2 &pos) const |
カードの裏面を描画します。 More... | |
void | drawBack (double x, double y) const |
カードの裏面を描画します。 More... | |
void | drawBack (const Vec2 &pos, double angle) const |
カードの裏面を描画します。 More... | |
void | drawBack (double x, double y, double angle) const |
カードの裏面を描画します。 More... | |
void | drawBackAt (const Vec2 ¢er) const |
中心座標を指定してカードの裏面を描画します。 More... | |
void | drawBackAt (double x, double y) const |
中心座標を指定してカードの裏面を描画します。 More... | |
void | drawBackAt (const Vec2 ¢er, double angle) const |
中心座標を指定してカードの裏面を描画します。 More... | |
void | drawBackAt (double x, double y, double angle) const |
中心座標を指定してカードの裏面を描画します。 More... | |
void | draw (const Vec2 &pos) const |
カードを描画します。 More... | |
void | draw (double x, double y) const |
カードを描画します。 More... | |
void | draw (const Vec2 &pos, double angle) const |
カードを描画します。 More... | |
void | draw (double x, double y, double angle) const |
カードを描画します。 More... | |
void | drawAt (const Vec2 ¢er) const |
中心座標を指定してカードを描画します。 More... | |
void | drawAt (double x, double y) const |
中心座標を指定してカードを描画します。 More... | |
void | drawAt (const Vec2 ¢er, double angle) const |
中心座標を指定してカードを描画します。 More... | |
void | drawAt (double x, double y, double angle) const |
中心座標を指定してカードを描画します。 More... | |
void | drawSimple (const Vec2 &pos) const |
シンプルなデザインでカードを描画します。 More... | |
void | drawSimple (double x, double y) const |
シンプルなデザインでカードを描画します。 More... | |
void | drawSimple (const Vec2 &pos, double angle) const |
シンプルなデザインでカードを描画します。 More... | |
void | drawSimple (double x, double y, double angle) const |
シンプルなデザインでカードを描画します。 More... | |
void | drawSimpleAt (const Vec2 ¢er) const |
中心座標を指定してシンプルなデザインでカードを描画します。 More... | |
void | drawSimpleAt (double x, double y) const |
中心座標を指定してシンプルなデザインでカードを描画します。 More... | |
void | drawSimpleAt (const Vec2 ¢er, double angle) const |
中心座標を指定してシンプルなデザインでカードを描画します。 More... | |
void | drawSimpleAt (double x, double y, double angle) const |
中心座標を指定してシンプルなデザインでカードを描画します。 More... | |
カードの描画用の情報
|
default |
デフォルトコンストラクタ
s3d::PlayingCard::CardInfo::CardInfo | ( | const Card & | card, |
const Font & | font, | ||
const Font & | fontLarge, | ||
const Font & | fontEmoji, | ||
const Vec2 & | size, | ||
double | frameThickness, | ||
const ColorF & | backSideColor | ||
) |
カードの情報を作成します。
card | カード |
font | 描画に使用するフォント |
fontLarge | 描画に使用するフォント |
size | カードの大きさ |
frameThickness | 枠の太さ |
backSideColor | 裏面の色 |
void s3d::PlayingCard::CardInfo::draw | ( | const Vec2 & | pos | ) | const |
カードを描画します。
pos | カードの左上の座標 |
void s3d::PlayingCard::CardInfo::draw | ( | const Vec2 & | pos, |
double | angle | ||
) | const |
カードを描画します。
pos | カードの左上の座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::draw | ( | double | x, |
double | y | ||
) | const |
カードを描画します。
x | カードの左上の X 座標 |
y | カードの左上の Y 座標 |
void s3d::PlayingCard::CardInfo::draw | ( | double | x, |
double | y, | ||
double | angle | ||
) | const |
カードを描画します。
x | カードの左上の X 座標 |
y | カードの左上の Y 座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawAt | ( | const Vec2 & | center | ) | const |
中心座標を指定してカードを描画します。
center | カードの中心の座標 |
void s3d::PlayingCard::CardInfo::drawAt | ( | const Vec2 & | center, |
double | angle | ||
) | const |
中心座標を指定してカードを描画します。
center | カードの中心の座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawAt | ( | double | x, |
double | y | ||
) | const |
中心座標を指定してカードを描画します。
x | カードの中心の X 座標 |
y | カードの中心の Y 座標 |
void s3d::PlayingCard::CardInfo::drawAt | ( | double | x, |
double | y, | ||
double | angle | ||
) | const |
中心座標を指定してカードを描画します。
x | カードの中心の X 座標 |
y | カードの中心の Y 座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawBack | ( | const Vec2 & | pos | ) | const |
カードの裏面を描画します。
pos | カードの左上の座標 |
void s3d::PlayingCard::CardInfo::drawBack | ( | const Vec2 & | pos, |
double | angle | ||
) | const |
カードの裏面を描画します。
pos | カードの左上の座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawBack | ( | double | x, |
double | y | ||
) | const |
カードの裏面を描画します。
x | カードの左上の X 座標 |
y | カードの左上の Y 座標 |
void s3d::PlayingCard::CardInfo::drawBack | ( | double | x, |
double | y, | ||
double | angle | ||
) | const |
カードの裏面を描画します。
x | カードの左上の X 座標 |
y | カードの左上の Y 座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawBackAt | ( | const Vec2 & | center | ) | const |
中心座標を指定してカードの裏面を描画します。
center | カードの中心の座標 |
void s3d::PlayingCard::CardInfo::drawBackAt | ( | const Vec2 & | center, |
double | angle | ||
) | const |
中心座標を指定してカードの裏面を描画します。
center | カードの中心の座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawBackAt | ( | double | x, |
double | y | ||
) | const |
中心座標を指定してカードの裏面を描画します。
x | カードの左上の X 座標 |
y | カードの左上の Y 座標 |
void s3d::PlayingCard::CardInfo::drawBackAt | ( | double | x, |
double | y, | ||
double | angle | ||
) | const |
中心座標を指定してカードの裏面を描画します。
x | カードの中心の X 座標 |
y | カードの中心の Y 座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawSimple | ( | const Vec2 & | pos | ) | const |
シンプルなデザインでカードを描画します。
pos | カードの左上の座標 |
void s3d::PlayingCard::CardInfo::drawSimple | ( | const Vec2 & | pos, |
double | angle | ||
) | const |
シンプルなデザインでカードを描画します。
pos | カードの左上の座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawSimple | ( | double | x, |
double | y | ||
) | const |
シンプルなデザインでカードを描画します。
x | カードの左上の X 座標 |
y | カードの左上の Y 座標 |
void s3d::PlayingCard::CardInfo::drawSimple | ( | double | x, |
double | y, | ||
double | angle | ||
) | const |
シンプルなデザインでカードを描画します。
x | カードの左上の X 座標 |
y | カードの左上の Y 座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawSimpleAt | ( | const Vec2 & | center | ) | const |
中心座標を指定してシンプルなデザインでカードを描画します。
center | カードの中心の座標 |
void s3d::PlayingCard::CardInfo::drawSimpleAt | ( | const Vec2 & | center, |
double | angle | ||
) | const |
中心座標を指定してシンプルなデザインでカードを描画します。
center | カードの中心の座標 |
angle | カードの時計回りの回転 |
void s3d::PlayingCard::CardInfo::drawSimpleAt | ( | double | x, |
double | y | ||
) | const |
中心座標を指定してシンプルなデザインでカードを描画します。
x | カードの中心の X 座標 |
y | カードの中心の Y 座標 |
void s3d::PlayingCard::CardInfo::drawSimpleAt | ( | double | x, |
double | y, | ||
double | angle | ||
) | const |
中心座標を指定してシンプルなデザインでカードを描画します。
x | カードの中心の X 座標 |
y | カードの中心の Y 座標 |
angle | カードの時計回りの回転 |