SDXFrameWork
0.09
SDXFrameWork
|
Fontスプライト. More...
#include <Sprite.h>
Inherits SDX::ISprite.
Public Member Functions | |
SpFont (const IFont *フォント, Color 描画色, double 縦倍率, double 横倍率, const char *描画する文字列) | |
SpFont (const IFont *フォント, Color 描画色, double 縦倍率, double 横倍率, std::string &参照する文字列) | |
void | Draw (const Point &座標, bool Cameraフラグ) override |
ISpriteを描画する. More... | |
void | SetText (const char *表示する文字) |
void | MoveGap (double X移動量, double Y移動量) |
Shapeとの相対座標を移動. More... | |
void | SetGap (const Point &座標) |
Shapeとの相対座標を指定. More... | |
void | SetZoom (double X拡大率, double Y拡大率) |
表示倍率を設定. More... | |
void | MultiZoom (double 倍率) |
拡大率を掛け算する. More... | |
void | MultiZoom (double X倍率, double Y倍率) |
縦横別で拡大率を掛け算する. More... | |
double | GetZoomX () |
横方向の表示倍率を取得. More... | |
double | GetZoomY () |
縦方向の表示倍率を取得. More... | |
void | SetTurn (bool 反転フラグ) |
左右反転フラグを設定. More... | |
bool | GetTurn () |
左右反転フラグを取得. More... | |
double | GetAngle () |
表示角度を取得. More... | |
void | SetAngle (double 角度) |
表示角度を設定. More... | |
void | Rotate (double 回転する角度) |
回転させる. More... | |
Color | GetColor () |
描画色を取得. More... | |
void | SetColor (Color 描画色) |
透明度を0~255で設定. More... | |
virtual void | AnimeUpdate () |
説明. More... | |
Public Attributes | |
bool | isTurn = false |
Protected Attributes | |
double | zoomX = 1 |
double | zoomY = 1 |
double | gapX = 0 |
double | gapY = 0 |
double | axisX = 0 |
double | axisY = 0 |
Color | color = {255,255,255,255} |
double | angle = 0 |
Fontスプライト.
|
overridevirtual |
ISpriteを描画する.
Implements SDX::ISprite.
|
inherited |
Shapeとの相対座標を移動.
|
inherited |
Shapeとの相対座標を指定.
|
inherited |
表示倍率を設定.
|
inherited |
拡大率を掛け算する.
|
inherited |
縦横別で拡大率を掛け算する.
|
inherited |
横方向の表示倍率を取得.
|
inherited |
縦方向の表示倍率を取得.
|
inherited |
左右反転フラグを設定.
|
inherited |
左右反転フラグを取得.
|
inherited |
表示角度を取得.
|
inherited |
表示角度を設定.
|
inherited |
回転させる.
|
inherited |
描画色を取得.
|
inherited |
透明度を0~255で設定.
|
virtualinherited |
説明.
Reimplemented in SDX::SpAnime.