#include <basicDraw.h>
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) |
描画 |
Definition at line 206 of file basicDraw.h.
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 | |||
) |
文字の描画
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().