#include "aliceml.h"データ構造 | |
| struct | ML_TextSurface |
| 文字に特化したサーフェイスクラスです。 [詳細] | |
関数 | |
| ALICEMLAPI ML_TextSurface *ALICEMLCALL | ML_TextSurface_Create (ML_Message *message, ML_Font *font, ML_char32 usc4) |
| 文字サーフェイスを作成します。 | |
| ALICEMLAPI int ALICEMLCALL | ML_TextSurface_Share (ML_TextSurface *surface) |
| 文字サーフェイスの参照カウントを一つ増やします。 | |
| ALICEMLAPI void ALICEMLCALL | ML_TextSurface_Destroy (ML_TextSurface *surface) |
| 文字サーフェイスの参照カウントを減らし、必要なら破棄します。 | |
| ALICEMLAPI int ALICEMLCALL | ML_TextSurface_GetSize (ML_Message *message, const ML_Font *font, ML_char32 ucs4, int *w, int *h) |
| 斜体じゃないフォントの横幅を得ます。 | |
| ALICEMLAPI int ALICEMLCALL | ML_TextSurface_GetStride (ML_Message *message, const ML_Font *font, ML_char32 ucs4, int *stride) |
| 斜体じゃないフォントの横幅を得ます。 | |
| ALICEMLAPI ML_TextSurface* ALICEMLCALL ML_TextSurface_Create | ( | ML_Message * | message, | |
| ML_Font * | font, | |||
| ML_char32 | usc4 | |||
| ) |
文字サーフェイスを作成します。
| ALICEMLAPI void ALICEMLCALL ML_TextSurface_Destroy | ( | ML_TextSurface * | surface | ) |
文字サーフェイスの参照カウントを減らし、必要なら破棄します。
| ALICEMLAPI int ALICEMLCALL ML_TextSurface_GetSize | ( | ML_Message * | message, | |
| const ML_Font * | font, | |||
| ML_char32 | ucs4, | |||
| int * | w, | |||
| int * | h | |||
| ) |
斜体じゃないフォントの横幅を得ます。
| ALICEMLAPI int ALICEMLCALL ML_TextSurface_GetStride | ( | ML_Message * | message, | |
| const ML_Font * | font, | |||
| ML_char32 | ucs4, | |||
| int * | stride | |||
| ) |
斜体じゃないフォントの横幅を得ます。
| ALICEMLAPI int ALICEMLCALL ML_TextSurface_Share | ( | ML_TextSurface * | surface | ) |
文字サーフェイスの参照カウントを一つ増やします。
1.4.7