OSDN Git Service

SDL_HINT_RENDER_DRIVER metalを追加した https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER...
[sdl2referencejp/sdl2referencejp.git] / TTF_GetFontKerning.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="ja-JP">
3 <head>
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_GetFontKerning</title>
10 </head>
11 <body>
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_GetFontKerning
13 <hr>
14 <h1>TTF_GetFontKerning</h1>
15 <p>
16 <code>int TTF_GetFontKerning(TTF_Font *font)</code>
17 </p>
18 <p>
19 <dl>
20 <dt>font</dt><dd>\83J\81[\83j\83\93\83O\82ð\93¾\82é\83t\83H\83\93\83g</dd>
21 </dl>
22 </p>
23 <p>
24 font\82Ì\8c»\8dÝ\82Ì\83J\81[\83j\83\93\83O(\95\8e\9a\8bl\82ß)\82Ì\97L\96³\82ð\93¾\82é.
25 </p>
26 <p>
27 \83\81\83\82\82±\82Ì\8aÖ\90\94\82Ìfont\82ÉNULL\82ð\93n\82·\82Æ\88Ù\8fí\8fI\97¹\82·\82é.
28 </p>
29 <p>
30 \96ß\82è\92l: \83J\81[\83j\83\93\83O\82ª\96³\8cø\82Ì\82Æ\82«0, \97L\8cø\82Ì\82Æ\82«0\88È\8aO. \83t\83H\83\93\83g\82ð\93Ç\82Ý\8d\9e\82ñ\82¾\92¼\8cã\82Í1(\97L\8cø)\82Å\82 \82é.
31 </p>
32 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>
33 <code>
34 <pre>
35 // \93Ç\82Ý\8d\9e\82Ü\82ê\82½\83t\83H\83\93\83g\82Ì\83J\81[\83j\83\93\83O\82ð\93¾\82é
36 //TTF_Font *font;
37 int kerning=TTF_GetFontKerning(font);
38 printf("\83t\83H\83\93\83g\82Ì\8c»\8dÝ\82Ì\83J\81[\83j\83\93\83O\82Í %s\n",
39         kerning==0?"\96³\8cø":"\97L\8cø");
40 </pre>
41 </code>
42 <h2>\8eQ\8fÆ</h2>
43 <a href="TTF_SetFontKerning.html">TTF_SetFontKerning</a>,
44 <a href="SDL_ttf-glossary.html">6.\97p\8cê</a>,
45 <a href="http://ja.wikipedia.org/wiki/%E3%82%AB%E3%83%BC%E3%83%8B%E3%83%B3%E3%82%B0">Kerning @ Wikipedia</a>
46 <h2>\8c´\95\82Ö\82Ì\83\8a\83\93\83N</h2>
47 <a href="http://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_27.html#SEC27">3.3.8 TTF_GetFontKerning</a>
48 <hr>
49 </body>
50 </html>