TextDraw Class Reference

文字列の描画 More...

#include <basicDraw.h>

Inheritance diagram for TextDraw:

Inheritance graph
[legend]
Collaboration diagram for TextDraw:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TextDraw (TTF_Draw &ttf, const char *text, const VXV::Grid &text_pos, int pxSize=16, bool pin=false, unsigned long color=White, unsigned long background=Black, bool transparent=false)
 文字の描画
void draw (void)
 描画


Detailed Description

文字列の描画

Definition at line 206 of file basicDraw.h.


Constructor & Destructor Documentation

TextDraw::TextDraw ( TTF_Draw ttf,
const char *  text,
const VXV::Grid text_pos,
int  pxSize = 16,
bool  pin = false,
unsigned long  color = White,
unsigned long  background = Black,
bool  transparent = false 
)

文字の描画

Parameters:
ttf [i] TrueTypeFont 資源
text [i] 描画文字列
text_pos [i] 描画位置
pxSize [i] 文字サイズ
pin [i] 座標系に固定する場合に true
color [i] 色
background [i] 背景色

Definition at line 239 of file basicDraw.cpp.

References ComponentInterface::setPosition().


The documentation for this class was generated from the following files:

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1