1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="SDL_ttf">
7 <link rel="top" href="index.html" title="
\83z
\81[
\83\80">
8 <link rel="parent" href="SDL_ttf-functions-management.html" title="1
\82Â
\8fã">
9 <title>TTF_MeasureUNICODE</title>
12 <a href="index.html#SDL_ttf">
\96Ú
\8e\9f</a> - <a href="SDL_ttf-functions.html">3.
\8aÖ
\90\94</a> - <a href="SDL_ttf-functions-attributes.html">3.3
\91®
\90«</a> - TTF_MeasureUNICODE
14 <h1>TTF_MeasureUNICODE</h1>
15 \97^
\82¦
\82ç
\82ê
\82½
\95\9d\82É
\8eû
\82Ü
\82éUCS-2
\95¶
\8e\9a\90\94\82ð
\8b\81\82ß
\82é
17 <code>int TTF_MeasureUNICODE(TTF_Font *font, const Uint16 *text, int measure_width, int *extent, int *count)</code>
19 <table border="1" summary="TTF_MeasureUNICODE">
20 <tr><td>font</td><td>
\83t
\83H
\83\93\83g</td></tr>
21 <tr><td>text</td><td>
\8b\81\82ß
\82éUCS-2
\83e
\83L
\83X
\83g</td></tr>
22 <tr><td>measure_width</td><td>
\95¶
\8e\9a\97ñ
\82Ì
\8cÀ
\8aE
\95\9d\83s
\83N
\83Z
\83\8b\90\94</td></tr>
23 <tr><td>extent</td><td>
\95¶
\8e\9a\97ñ
\82ª
\8eû
\82Ü
\82é
\8dÅ
\8f¬
\82Ì
\95\9d\83s
\83N
\83Z
\83\8b\90\94</td></tr>
24 <tr><td>count</td><td>
\83\8c\83\93\83_
\83\8a\83\93\83O
\89Â
\94\
\82È
\95¶
\8e\9a\90\94\82Ì
\91ã
\93ü
\90æ
\82Ö
\82Ì
\83|
\83C
\83\93\83^</td></tr>
27 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\83G
\83\89\81[
\82Ì
\82Æ
\82«-1
\82ð
\96ß
\82·.
30 measure_width
\82É
\92B
\82·
\82é
\82Ü
\82Å
\83\8c\83\93\83_
\83\8a\83\93\83O
\82Å
\82«
\82é
\95¶
\8e\9a\90\94\82ð
\8b\81\82ß
\82é.
33 \8b\81\82ß
\82é
\82½
\82ß
\82É
\95¶
\8e\9a\97ñ
\82ð
\83\8c\83\93\83_
\83\8a\83\93\83O
\82·
\82é
\95K
\97v
\82Í
\82È
\82¢.
36 \82±
\82Ì
\8aÖ
\90\94\82Ì
\96¼
\91O
\82Í"Unicode"
\82Æ
\82È
\82Á
\82Ä
\82¢
\82é
\82ª,
\8c»
\8dÝ
\82Ì
\8eÀ
\8dÛ
\82Ì
\93ü
\97Í
\82ÍUCS-2(1
\83R
\81[
\83h
\83|
\83C
\83\93\83g16
\83r
\83b
\83g)
\82Å
\82 \82é.
37 \8aG
\95¶
\8e\9a\82Ì
\82æ
\82¤
\82È
\82»
\82ê
\82æ
\82è
\82à
\91å
\82«
\82ÈUnicode
\82Ì
\92l
\82Í
\93n
\82¹
\82È
\82¢.
38 \82»
\82Ì
\82æ
\82¤
\82È
\83R
\81[
\83h
\83|
\83C
\83\93\83g
\82ÍUTF-8
\94Å
\82Å
\83A
\83N
\83Z
\83X
\82Å
\82«
\82é.
40 <h2>
\83o
\81[
\83W
\83\87\83\93</h2>
41 SDL_ttf 2.0.18
\88È
\8d~
42 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
43 <a href="TTF_MeasureText.html">TTF_MeasureText</a><br>
44 <a href="TTF_MeasureUTF8.html">TTF_MeasureUTF8</a><br>
45 <h2>
\8c´
\95¶
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
46 <a href="https://wiki.libsdl.org/SDL_ttf/TTF_MeasureUNICODE">SDL_ttf/TTF_MeasureUNICODE</a>