SDXFrameWork  0.13
SDXFrameWork
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
IFont.h
1 //Copyright © 2014 SDXFramework
2 //[License]GNU Affero General Public License, version 3
3 //[Contact]http://sourceforge.jp/projects/dxframework/
4 #pragma once
5 #include <Multimedia/Color.h>
6 #include <Utility/VariadicStream.h>
7 
8 namespace SDX
9 {
12  class IFont
13  {
14  public:
15  virtual ~IFont() = default;
16 
18  virtual bool Draw(const Point &座標, const Color &描画色, const VariadicStream &描画する文字列 , bool 反転フラグ = false) const = 0;
19 
21  virtual bool DrawRotate(const Point &座標, double 拡大率, double 角度, const Color &描画色, const VariadicStream &描画する文字列, bool 反転フラグ = false) const = 0;
22 
24  virtual bool DrawExtend(const Point &座標, double X軸拡大率, double Y軸拡大率, const Color &描画色, const VariadicStream &描画する文字列 , bool 反転フラグ = false) const = 0;
25  };
26 }
Fontのインターフェース.
Definition: IFont.h:12
virtual bool Draw(const Point &座標, const Color &描画色, const VariadicStream &描画する文字列, bool 反転フラグ=false) const =0
文字を描画.
点を表す図形クラス.
Definition: Point.h:22
色を表すクラス.
Definition: Color.h:11
virtual bool DrawExtend(const Point &座標, double X軸拡大率, double Y軸拡大率, const Color &描画色, const VariadicStream &描画する文字列, bool 反転フラグ=false) const =0
拡大率を指定して文字を描画.
可変数引数な文字列を処理するクラス.
Definition: VariadicStream.h:25
virtual bool DrawRotate(const Point &座標, double 拡大率, double 角度, const Color &描画色, const VariadicStream &描画する文字列, bool 反転フラグ=false) const =0
文字を回転して描画.