rubysdl-mswin32-1.8 2.1.0.1 → 2.1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/doc/font.rd DELETED
@@ -1,625 +0,0 @@
1
- = Font
2
- * ((< Font���赡ǽ����>))
3
- * ((<SDL::TTF>))
4
- * ((<SDL::BMFont>))
5
- * ((<SDL::Kanji>))
6
- * �ե���ȴ�Ϣ�᥽�å�
7
- * ((<SDL::TTF.init>)) -- TTF���赡ǽ���������ޤ���
8
- * ((<SDL::TTF.init?>)) -- TTF���赡ǽ�����������Ƥ��뤫�ɤ��������ޤ���
9
- * ((<SDL::TTF.open>)) -- �ե����뤫��ե���Ȥ��ɤߤ��ߤޤ���
10
- * ((<SDL::TTF#style>)) -- �ե���Ȥ����襹��������֤��ޤ���
11
- * ((<SDL::TTF#style=>)) -- �ե���Ȥ����襹����������ꤷ�ޤ���
12
- * ((<SDL::TTF#height>)) -- �ե���Ȥ�ʸ���ι⤵���֤��ޤ���
13
- * ((<SDL::TTF#ascent>)) -- �ե���Ȥ�ascent���֤��ޤ���
14
- * ((<SDL::TTF#descent>)) -- �ե���Ȥ�descent���֤��ޤ���
15
- * ((<SDL::TTF#line_skip>)) -- �ե���Ȥΰ�Ԥ�����ο侩�⤵���֤���
16
- * ((<SDL::TTF#faces>)) -- �ե������ο����֤��ޤ���
17
- * ((<SDL::TTF#fixed_width?>)) -- �ե���ȥե��������������ɤ��������ޤ���
18
- * ((<SDL::TTF#family_name>)) -- �ե���Ȥθ��ߤΥե�������̾�������ޤ���
19
- * ((<SDL::TTF#style_name>)) -- �ե���Ȥθ��ߤΥե������Υ��������̾�������ޤ���
20
- * ((<SDL::TTF#text_size>)) -- ʸ����Υ�����󥰤�ɬ�פʥ����ե����Υ����������ޤ���
21
- * ((<SDL::TTF#render_solid_utf8>)) -- ʸ����������󥰤��������ե������֤��ޤ���
22
- * ((<SDL::TTF#render_shaded_utf8>)) -- ʸ����򥢥�������ꥢ���󥰤��ƥ�����󥰤��������ե������֤��ޤ���
23
- * ((<SDL::TTF#render_blended_utf8>)) -- ʸ����򥢥�ե���Ȥäƥ���������ꥢ�����������ե������֤��ޤ���
24
- * ((<SDL::TTF#draw_solid_utf8>)) -- ʸ��������褷�ޤ���
25
- * ((<SDL::TTF#draw_shaded_utf8>)) -- ʸ����򥢥�������ꥢ�����褷�ޤ���
26
- * ((<SDL::TTF#draw_blended_utf8>)) -- ʸ����򥢥�ե��ǥ���������ꥢ���������褷�ޤ���
27
- * ((<SDL::BMFont.open>)) -- �ե���Ȥ�����ɤ��ޤ���
28
- * ((<SDL::BMFont#set_color>)) -- �ե���Ȥο����ѹ����ޤ���
29
- * ((<SDL::BMFont#height>)) -- �ե���Ȥι⤵�����ޤ���
30
- * ((<SDL::BMFont#width>)) -- �ե���Ȥ��������ޤ���
31
- * ((<SDL::BMFont#text_size>)) -- ʸ����������ɬ�פʥ����ե������礭�������ޤ���
32
- * ((<SDL::BMFont#textout>)) -- ʸ��������褷�ޤ���
33
- * ((<SDL::Kanji.open>)) -- bdf�ե�������ɤ߹��ࡣ
34
- * ((<SDL::Kanji#add>)) -- �����ɤ߹���Ǥ���ե���Ȥ��ɲä��ƥե���Ȥ��ɤߤ��ߤޤ���
35
- * ((<SDL::Kanji#set_coding_system>)) -- ʸ�������ɤ���ꤷ�ޤ���
36
- * ((<SDL::Kanji#height>)) -- ʸ���ι⤵�����ޤ���
37
- * ((<SDL::Kanji#textwidth>)) -- ʸ������������ޤ���
38
- * ((<SDL::Kanji#width>)) -- ʸ�����������ޤ���
39
- * ((<SDL::Kanji#put>)) -- ʸ�������褷�ޤ���
40
- * ((<SDL::Kanji#put_tate>)) -- ʸ����Ľ񤭤����褷�ޤ���
41
-
42
- == Font���赡ǽ����
43
- Ruby/SDL ��3����ΰۤʤ�ե�������襷���ƥ����äƤ��ޤ���
44
- ((<SDL_ttf|URL:http://www.libsdl.org/projects/SDL_ttf/index.html>))
45
- �Ǥ� True Type Font �����衢
46
- ((<SGE|URL:http://www.etek.chalmers.se/~e8cal1/sge/index.html>))
47
- �Ǥ��ȼ�����/SFont�����ǤΥӥåȥޥåץե���Ȥ����衢
48
- ((<SDL_kanji|URL:http://shinh.skr.jp/sdlkanji/>)) �Ǥ� bdf �ե���Ȥ�����
49
- �Ǥ���
50
- ���Τ��줾��ˡ�((<SDL::TTF>))��((<SDL::BMFont>))��((<SDL::Kanji>)) �Ȥ������饹�������Ƥ���
51
- ���ơ����줾��ۤʤ�᥽�åɡ���ǽ������ޤ���
52
-
53
- ����ˤϤ��줾��ʲ��Τ褦����ħ������ޤ���Ŭ�ڤ˻Ȥ��櫓�Ƥ���������
54
- * SDL::TTF
55
-
56
- �ե���ȥե������̾���� *.ttf �� *.ttc ������Ū�Ǥ���
57
- �ե���ȥǡ����ξ��󤬥٥��ȥ�ǡ����Ǥ��뤿�ᡢ��Ĥ�
58
- �ե���ȥǡ����������Ǥ�դ��礭����ʸ��������Ǥ�������������ޤ���
59
- �ե���ȥǡ������������Τ����ݤȤ��������Ǥ����Ȥ��˼���
60
- ����Τ����ѤǤ��礦��
61
-
62
- * SDL::BMFont
63
-
64
- �ե���ȥե�����Ϥ���ʤ�ӥåȥޥåץե�����(*.bmp) �� PNG �ե�����(*.png)
65
- ��Ȥ��ޤ����ȼ������ξ�硢������������ʸ���ǡ����򲣤�256���¤٤���Τ�
66
- �ߤʤ������Τ��줾�줬 ASCII �����ɤ��б����Ƥ����Ȥβ�ᤵ��ޤ���
67
- �Ĥޤ� ���� 8 �ԥ����롢�⤵ 16�ԥ�����Υǡ����ʤ��
68
- �� 8*256 = 2048���⤵ 16�ԥ�����β����Ȥʤ�ޤ���
69
- �ե���ȥǡ����򼫺��Τ����Ū�ưפʤ��Ȥ������Ǥ���
70
- ʿ��̾�������������褬�Ǥ��ʤ����ȡ�����̾�����ʸ����
71
- ����Ǥ��ʤ����Ȥ������Ǥ���
72
-
73
- �⤦��ġ����Υ��饹�� ((<SFont|URL:http://www.linux-games.com/sfont/>))
74
- �����ⰷ�����Ȥ��Ǥ��ޤ��������ӥåȥޥåץե���Ȥΰ��Ǥ�����
75
- ʸ�����������ѤǤ������ʤɤ������Ǥ����ܤ����ϥ����򸫤Ƥ���������
76
-
77
- * SDL::Kanji
78
-
79
- �ե���ȥե�����γ�ĥ�Ҥˤ�bdf���Ȥ��ޤ����ӥåȥޥåץե���Ȥ�
80
- ���Ǥ���ʣ���Υե���ȥե�����(�㤨�Х���ե��٥åȤ����ܸ�)
81
- �Υǡ�����ʻ���ƻȤ���ǽ����äƤ��ޤ���
82
- ʿ��̾�������������褬��ǽ�����������Ǥ���
83
- �����ϡ�bdf �ե���ȤϤ��ޤ����Ū�ʷ����ǤϤʤ�����ե���Ȥ��Ѱդ�
84
- ���ݤǤ��뤳�ȤǤ���
85
-
86
- == SDL::TTF
87
- * ((<SDL::TTF.init>)) -- TTF���赡ǽ���������ޤ���
88
- * ((<SDL::TTF.init?>)) -- TTF���赡ǽ�����������Ƥ��뤫�ɤ��������ޤ���
89
- * ((<SDL::TTF.open>)) -- �ե����뤫��ե���Ȥ��ɤߤ��ߤޤ���
90
- * ((<SDL::TTF#style>)) -- �ե���Ȥ����襹��������֤��ޤ���
91
- * ((<SDL::TTF#style=>)) -- �ե���Ȥ����襹����������ꤷ�ޤ���
92
- * ((<SDL::TTF#height>)) -- �ե���Ȥ�ʸ���ι⤵���֤��ޤ���
93
- * ((<SDL::TTF#ascent>)) -- �ե���Ȥ�ascent���֤��ޤ���
94
- * ((<SDL::TTF#descent>)) -- �ե���Ȥ�descent���֤��ޤ���
95
- * ((<SDL::TTF#line_skip>)) -- �ե���Ȥΰ�Ԥ�����ο侩�⤵���֤���
96
- * ((<SDL::TTF#faces>)) -- �ե������ο����֤��ޤ���
97
- * ((<SDL::TTF#fixed_width?>)) -- �ե���ȥե��������������ɤ��������ޤ���
98
- * ((<SDL::TTF#family_name>)) -- �ե���Ȥθ��ߤΥե�������̾�������ޤ���
99
- * ((<SDL::TTF#style_name>)) -- �ե���Ȥθ��ߤΥե������Υ��������̾�������ޤ���
100
- * ((<SDL::TTF#text_size>)) -- ʸ����Υ�����󥰤�ɬ�פʥ����ե����Υ����������ޤ���
101
- * ((<SDL::TTF#render_solid_utf8>)) -- ʸ����������󥰤��������ե������֤��ޤ���
102
- * ((<SDL::TTF#render_shaded_utf8>)) -- ʸ����򥢥�������ꥢ���󥰤��ƥ�����󥰤��������ե������֤��ޤ���
103
- * ((<SDL::TTF#render_blended_utf8>)) -- ʸ����򥢥�ե���Ȥäƥ���������ꥢ�����������ե������֤��ޤ���
104
- * ((<SDL::TTF#draw_solid_utf8>)) -- ʸ��������褷�ޤ���
105
- * ((<SDL::TTF#draw_shaded_utf8>)) -- ʸ����򥢥�������ꥢ�����褷�ޤ���
106
- * ((<SDL::TTF#draw_blended_utf8>)) -- ʸ����򥢥�ե��ǥ���������ꥢ���������褷�ޤ���
107
-
108
- TrueTypeFont��ɽ�魯���饹�Ǥ������Υ��饹��Ȥ�����ˤϡ�
109
- ((<SDL_ttf|URL:http://www.libsdl.org/projects/SDL_ttf/index.html>))
110
- ��ɬ�פǤ����Хå�����ɤ�((<Freetype|URL:http://www.freetype.org/>))
111
- �����Ѥ��ޤ���
112
-
113
- �ޤ����ե���ȤΥ饤���󥹤ˤ����դ��Ƥ����������㤨�� Windows ��°��
114
- �ե���ȤϺ����ۤ�ǧ����Ƥ��ޤ���
115
-
116
- == SDL::BMFont
117
- * ((<SDL::BMFont.open>)) -- �ե���Ȥ�����ɤ��ޤ���
118
- * ((<SDL::BMFont#set_color>)) -- �ե���Ȥο����ѹ����ޤ���
119
- * ((<SDL::BMFont#height>)) -- �ե���Ȥι⤵�����ޤ���
120
- * ((<SDL::BMFont#width>)) -- �ե���Ȥ��������ޤ���
121
- * ((<SDL::BMFont#text_size>)) -- ʸ����������ɬ�פʥ����ե������礭�������ޤ���
122
- * ((<SDL::BMFont#textout>)) -- ʸ��������褷�ޤ���
123
-
124
- �ӥåȥޥåץե���Ȥ�ɽ�魯���饹�Ǥ������Υ��饹��Ȥ�����ˤ�
125
- ((<SGE|URL:http://www.etek.chalmers.se/~e8cal1/sge/index.html>))
126
- ��ɬ�פǤ���
127
-
128
- == SDL::Kanji
129
- * ((<SDL::Kanji.open>)) -- bdf�ե�������ɤ߹��ࡣ
130
- * ((<SDL::Kanji#add>)) -- �����ɤ߹���Ǥ���ե���Ȥ��ɲä��ƥե���Ȥ��ɤߤ��ߤޤ���
131
- * ((<SDL::Kanji#set_coding_system>)) -- ʸ�������ɤ���ꤷ�ޤ���
132
- * ((<SDL::Kanji#height>)) -- ʸ���ι⤵�����ޤ���
133
- * ((<SDL::Kanji#textwidth>)) -- ʸ������������ޤ���
134
- * ((<SDL::Kanji#width>)) -- ʸ�����������ޤ���
135
- * ((<SDL::Kanji#put>)) -- ʸ�������褷�ޤ���
136
- * ((<SDL::Kanji#put_tate>)) -- ʸ����Ľ񤭤����褷�ޤ���
137
-
138
- bdf�ե���Ȥ�ɽ�魯���饹�Ǥ���
139
-
140
- == �ե���ȴ�Ϣ�᥽�å�
141
-
142
- --- SDL::TTF.init
143
-
144
- TTF���赡ǽ���������ޤ���
145
- ((<SDL::TTF>)) ��¾�Υ᥽�åɤ�Ƥ����ˤ����Ƥ�Ǥ���������
146
- ((<SDL.init>)) ��Ƥ����˸Ƥ�Ǥ⤫�ޤ��ޤ���
147
-
148
-
149
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
150
- * See Also
151
-
152
- ((<SDL::TTF.init?>))
153
-
154
- --- SDL::TTF.init?
155
-
156
- TTF���赡ǽ�����˽��������Ƥ����true�򡢤��ʤ����
157
- false���֤��ޤ���
158
-
159
-
160
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
161
- * See Also
162
-
163
- ((<SDL::TTF.init>))
164
-
165
- --- SDL::TTF.open(filename, ptsize, index=nil)
166
-
167
- ((|filename|)) �ǻ��ꤷ���ե���ȥե������ ((|ptsize|)) �ݥ����
168
- ���ɤ߹��ߤޤ���((|index|)) �� face index �����Ǥ��ޤ���
169
- �ǥե���ȤǤ� 0 �Ǥ���
170
-
171
- ((<SDL::TTF>)) �Υ��󥹥��󥹤��֤��ޤ���
172
-
173
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
174
-
175
-
176
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
177
-
178
- EXAMPLE
179
- SDL::TTF.init
180
- font = SDL::TTF.open("font.ttf", 32, 0)
181
-
182
- --- SDL::TTF#style
183
-
184
- �ե���� ((|self|)) �����襹�������ʲ����ͤ������¤�Ȥä���Τ��֤��ޤ���
185
- * SDL::TTF::STYLE_BOLD
186
- * SDL::TTF::STYLE_ITALIC
187
- * SDL::TTF::STYLE_UNDERLINE
188
- �ʾ�Τɤ�����ꤵ��Ƥ��ʤ����� SDL::TTF::STYLE_NORMAL ���֤���ޤ���
189
-
190
-
191
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
192
-
193
- EXAMPLE
194
- print "The font style is:"
195
-
196
- print " normal" if font.style == SDL::TTF::STYLE_NORMAL
197
- print " bold" if (font.style & SDL::TTF::STYLE_BOLD) != 0
198
- print " italic" if (font.style & SDL::TTF::STYLE_ITALIC) != 0
199
- print " italic" if (font.style & SDL::TTF::STYLE_UNDERLINE) != 0
200
-
201
- print "\n"
202
-
203
- * See Also
204
-
205
- ((<SDL::TTF#style=>))
206
-
207
- --- SDL::TTF#style=(new_style)
208
-
209
- �ե���� ((|self|)) �����襹������� ((|new_style|)) �����ꤷ�ޤ���
210
- ((|new_style|)) �ϰʲ�������������¤�Ϳ���Ƥ���������
211
- * SDL::TTF::STYLE_BOLD
212
- * SDL::TTF::STYLE_ITALIC
213
- * SDL::TTF::STYLE_UNDERLINE
214
-
215
-
216
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
217
-
218
- EXAMPLE
219
- # ������å��Τ��ĥܡ�����Τ����ꤹ��
220
- font.style = SDL::TTF::STYLE_ITALIC | SDL::TTF::STYLE_BOLD
221
-
222
- # ���褹���
223
-
224
- # �̾���᤹
225
- font.style = SDL::TTF::STYLE_NORMAL
226
-
227
- * NOTES
228
-
229
- ���Υ᥽�åɤ�Ƥ֤������Υ�����󥰺Ѥ�ʸ���Υ���å��夬
230
- �ä���ޤ���
231
-
232
- * See Also
233
-
234
- ((<SDL::TTF#style>))
235
-
236
- --- SDL::TTF#height
237
-
238
- �ե���Ȥ�ʸ������ǰ��ֽĤι⤵���⤤��Τι⤵��ԥ���������֤��ޤ���
239
- �����ͤ�ʸ����ĤˤǤ��������Ť������褹�뤿��˻Ȥ��ޤ������ξ���
240
- �����ͤ�1��­����ʸ��Ʊ�Τ�����ʤ��ʤ�ޤ���
241
- Ruby/SDL��ʣ����������θ���Ƥ��ʤ����ᡢ�Դ֤򤭤���ȼ��Τ�
242
- ��ʬ�Ǥ��ʤ���Фʤ�ޤ���((<SDL::TTF#line_skip>)) �⻲�ͤˤ��Ƥ���������
243
-
244
-
245
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
246
- --- SDL::TTF#ascent
247
-
248
- ʸ����ascent(�١����饤�󤫤�ξ����ʬ�ι⤵)�κ����ͤ��֤��ޤ���
249
- �Ĥޤ�ʸ���ξ�ü����١����饤��ޤǤε�Υ�Ǥ���
250
-
251
-
252
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
253
- * See Also
254
-
255
- ((<SDL::TTF#height>)), ((<SDL::TTF#descent>)), ((<SDL::TTF#line_skip>))
256
-
257
- --- SDL::TTF#descent
258
-
259
- ʸ����descent(�١����饤�󤫤鲼����ʬ�ι⤵)�κ����ͤ��֤��ޤ���
260
- �Ĥޤ�ʸ���β�ü����١����饤��ޤǤε�Υ�Ǥ���
261
-
262
-
263
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
264
- * See Also
265
-
266
- ((<SDL::TTF#height>)), ((<SDL::TTF#ascent>)), ((<SDL::TTF#line_skip>))
267
-
268
- --- SDL::TTF#line_skip
269
-
270
- ���Υե���Ȥ˰�Ԥ����겿�ԥ�����ι⤵������Ƥ�٤�����
271
- �֤��ޤ���ʣ�������褷�������ˤ� ((<SDL::TTF#height>)) ���ͤ��
272
- ��������ͤ�Ȥä��ۤ����ɤ����⤷��ޤ���
273
- �����ͤ��̾� ((<SDL::TTF#height>)) ���ͤ���礭���Ǥ���
274
-
275
-
276
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
277
- * See Also
278
-
279
- ((<SDL::TTF#height>)), ((<SDL::TTF#ascent>)), ((<SDL::TTF#descent>))
280
-
281
- --- SDL::TTF#faces
282
-
283
- �ե���Ȥ˴ޤޤ�����Ѳ�ǽ�ʥե�����(�֥��֥ե���ȡ�)�ο����֤��ޤ���
284
- �̾盧���ͤ����Ѳ��ͤϤʤ��Ǥ��礦���Ȥ����ΤϤ����ͤ� ((<SDL::TTF>)) ��¾��
285
- �᥽�åɤˤʤ��ƶ���Ϳ���ʤ�����Ǥ���
286
-
287
-
288
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
289
- --- SDL::TTF#fixed_width?
290
-
291
- ((|self|)) �������Ǥ���� true �򡢤ʤ���� false ���֤���
292
- �����ե���ȤϤ��٤Ƥ�ʸ����Ʊ���Ǥ��ꡢʸ����������󥰤������
293
- �Υ����ե���������ñ�ˡ�ʸ������ * ʸ�����Ĺ���פˤʤ�ޤ���
294
-
295
-
296
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
297
- * See Also
298
-
299
- ((<SDL::TTF#faces>)), ((<SDL::TTF#family_name>))
300
-
301
- --- SDL::TTF#family_name
302
- --- SDL::TTF#familyName
303
-
304
- ((|self|)) �θ��ߤΥե���ȥե�������̾�����֤��ޤ���
305
- ̾������̵������ nil ���֤��ޤ���
306
-
307
-
308
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
309
- * See Also
310
-
311
- ((<SDL::TTF#faces>)), ((<SDL::TTF#fixed_width?>)), ((<SDL::TTF#style_name>))
312
-
313
- --- SDL::TTF#style_name
314
- --- SDL::TTF#styleName
315
-
316
- ((|self|)) �θ��ߤΥե���ȥե������Υ��������̾�����֤��ޤ���
317
- ̾������̵������ nil ���֤��ޤ���
318
-
319
-
320
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
321
- * See Also
322
-
323
- ((<SDL::TTF#faces>)), ((<SDL::TTF#fixed_width?>)), ((<SDL::TTF#family_name>))
324
-
325
- --- SDL::TTF#text_size(text)
326
- --- SDL::TTF#textSize(text)
327
-
328
- ((|text|)) ��Ϳ����줿ʸ����������󥰤���Τ�ɬ�פ�((<�����ե���|SDL::Surface>))
329
- �Υ�������׻��������������⤵���֤��ޤ���((|text|)) �Υ��󥳡��ǥ��󥰤�
330
- UTF8�Ǥʤ���Фʤ�ޤ���
331
- �ºݤˤϰ��ڥ�����󥰤���ޤ��󤬡������˥󥰤αƶ����θ��������
332
- �����ޤ���
333
- �⤵�� ((<SDL::TTF#height>)) ��Ʊ���ͤ������ޤ���
334
-
335
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
336
-
337
-
338
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
339
-
340
- EXAMPLE
341
- w, h = font.size_text("Hello World!")
342
- puts "width=#{w} height=#{h}"
343
-
344
- * See Also
345
-
346
- ((<SDL::TTF#render_solid_utf8>)), ((<SDL::TTF#render_shaded_utf8>)), ((<SDL::TTF#render_blended_utf8>)), ((<SDL::TTF#draw_solid_utf8>)), ((<SDL::TTF#draw_shaded_utf8>)), ((<SDL::TTF#draw_blended_utf8>))
347
-
348
- --- SDL::TTF#render_solid_utf8(text, r, g, b)
349
- --- SDL::TTF#renderSolidUTF8(text, r, g, b)
350
-
351
- ((|text|)) �ǻ��ꤷ��ʸ����(���󥳡��ǥ��󥰤�UTF8)��
352
- ((|r|)), [g], ((|b|)) �ǻ��ꤷ�����ǥ�����󥰤�����̤�
353
- ((<SDL::Surface>)) �Υ��󥹥��󥹤��֤��ޤ���
354
-
355
- ((<SDL::TTF#render_shaded_utf8>)) �� ((<SDL::TTF#render_blended_utf8>))
356
- ����®�Ǥ��������ܤϤ�������ɤ�����ޤ���
357
-
358
- ��������륵���ե�����8bpp�Υ����ե����ǡ����ꤷ����
359
- �����Ʃ������2���Τ߻Ȥ��ޤ���
360
- Ʃ�����Ȥ��� 0 �Υԥ������ͤ��� ʸ������ʬ�� 1 �Υԥ������ͤ�
361
- �Ȥ�졢�ѥ�åȤ�1�˻��ꤷ�������ͤ��֤���ޤ���
362
- ���Τ���ƥ�����󥰤��뤳�Ȥʤ���ʸ���ο����Ѥ��뤳�Ȥ��Ǥ��ޤ���
363
- 0 �ϥ��顼�����ǡ�Ʃ���Ǥ����顢
364
- �ѥ�å� 0 �ο�������¾�Υ����ե�����((<ž��|SDL.blit_surface>))���Ƥ�
365
- ���褵��ޤ��󡣼¤Ϥ��ο��� (255-((|r|)), 255-((|g|)), 255-((|b|)))
366
- �Ǥ���
367
- ����� ((<SDL::TTF#render_shaded_utf8>)) �� ((<SDL::TTF#render_blended_utf8>))
368
- ����٤ƹ�®�ʥ�����󥰤��Ǥ��ޤ�����
369
- ����������ꥢ�������Ϥ����äƤ��ޤ���
370
- �ޤ������Υ᥽�åɤǺ�ä������ե����ϡ�
371
- ((<TTF#render_blended_utf8] ���������������ե����� @[ž��|SDL.blit_surface>))
372
- �������®��ž���Ǥ��ޤ���
373
- �Ȥˤ�����®��ư�ɬ�פʾ��˻Ȥ��Ȥ褤�Ǥ��礦��
374
-
375
-
376
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
377
- * See Also
378
-
379
- ((<SDL::TTF#render_shaded_utf8>)), ((<SDL::TTF#render_blended_utf8>)), ((<SDL::TTF#draw_solid_utf8>))
380
-
381
- --- SDL::TTF#render_shaded_utf8(text,fg_r,fg_g,fg_b,bg_r,bg_g,bg_b)
382
- --- SDL::TTF#renderShadedUTF8(text,fg_r,fg_g,fg_b,bg_r,bg_g,bg_b)
383
-
384
- ((|text|)) �ǻ��ꤷ��ʸ����(���󥳡��ǥ��󥰤�UTF8)��
385
- ((|fg_r|)), [fg_g], ((|fg_b|)) �ǻ��ꤷ������ʸ���ο���
386
- ((|bg_r|)), [bg_g], ((|bg_b|)) �ǻ��ꤷ�������طʤο��Ȥ���
387
- ������󥰤�����̤�
388
- ((<SDL::Surface>)) �Υ��󥹥��󥹤��֤��ޤ���
389
-
390
- ((<SDL::TTF#render_solid_utf8>))��������󥰤���®�Ǥ�����
391
- �����ܤ� ((<SDL::TTF#render_solid_utf8>)) ���ͥ��Ƥ��ޤ���
392
-
393
- ���������((<�����ե���|SDL::Surface>))��8bpp�ǡ��ԥ������� 0 ���طʤǡ�
394
- ����¾�Υԥ������ͤ��طʿ������ʿ��Ȥ���֤ο���ɽ�����뤿��
395
- �˻Ȥ��ޤ���ʸ���ˤϥ���������ꥢ��������Ƥ��ޤ���
396
- ������󥰤�®�٤� ((<SDL::TTF#render_solid_utf8>)) �����®�ǡ�
397
- ((<SDL::TTF#render_blended_utf8>)) ��Ʊ�����餤�Ǥ���
398
- �ޤ������Υ᥽�åɤǺ�ä������ե����ϡ�
399
- ((<TTF#render_solid_utf8] ���������������ե�����@[ž��|SDL.blit_surface>))
400
- ����Τ�Ʊ�����餤��®�٤�ž���Ǥ��ޤ���
401
- ���顼�����ˤ��ȴ���䥢��ե��֥��ɤʤɤϻ��Ȥ߾�Ȥ��ʤ��Τǡ�
402
- ���ʼ��ʥ�����󥰤�ɬ�פǡ��طʤ��쿧������ʤ����˻ȤäƤ���������
403
-
404
-
405
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
406
- * See Also
407
-
408
- ((<SDL::TTF#render_solid_utf8>)), ((<SDL::TTF#render_blended_utf8>)), ((<SDL::TTF#draw_shaded_utf8>))
409
-
410
- --- SDL::TTF#render_blended_utf8(text, r, g, b)
411
- --- SDL::TTF#render_blended_utf8(text, r, g, b)
412
-
413
- ((|text|)) �ǻ��ꤷ��ʸ����(���󥳡��ǥ��󥰤�UTF8)��
414
- ((|r|)), [g], ((|b|)) �ǻ��ꤷ�����ǥ�����󥰤�����̤�
415
- ((<SDL::Surface>)) �Υ��󥹥��󥹤��֤��ޤ���
416
-
417
- ((<SDL::TTF#render_solid_utf8>))��������󥰤���®�Ǥ�����
418
- �����ܤ�ͥ��Ƥ��ޤ���
419
-
420
- ��������륵���ե�����32bppARGB�Τ�Τǡ�����ե���Ȥ��ǥ������
421
- �򤷹��ʼ���ʸ������򤷤ޤ����طʤϥ���ե��ͤ�������Ʃ�����ͤʤΤǡ�
422
- ((<SDL::TTF#render_shaded_utf8>)) �Τ褦��ʸ���Τޤ��˻ͳѤ��������
423
- ���ȤϤ���ޤ���ʸ���ˤϥ���������ꥢ���󥰤�����Ƥ��ޤ���
424
- ������󥰤�ɬ�פʻ��֤� ((<SDL::TTF#render_solid_utf8>)) ���Ĺ����
425
- ((<SDL::TTF#render_shaded_utf8>)) ��Ʊ�����餤�Ǥ���
426
- �ޤ����������������ե�����((< blit ž��|SDL.blit_surface>))����Τˤϡ�
427
- ((<SDL::TTF#render_solid_utf8>)) �� ((<SDL::TTF#render_shaded_utf8>)) ����������
428
- �����ե�����ž����������֤�������ޤ���
429
- ���Υ᥽�åɤϹ��ʼ��ʥ�����󥰤�ɬ�פǡ�®�٤�����ۤ�ɬ�פ�
430
- ����ʤ��������Ѥ��Ƥ���������
431
-
432
-
433
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
434
- * See Also
435
-
436
- ((<SDL::TTF#render_solid_utf8>)), ((<SDL::TTF#render_shaded_utf8>)), ((<SDL::TTF#draw_blended_utf8>))
437
-
438
- --- SDL::TTF#draw_solid_utf8(dest, text, x, y, r, g, b)
439
- --- SDL::TTF#drawSolidUTF8(dest, text, x, y, r, g, b)
440
-
441
- ((|text|)) �ǻ��ꤷ��ʸ����� ((|dest|)) �ǻ��ꤷ��((<�����ե���|SDL::Surface>))��
442
- (((|x|)), ((|y|))) �򺸾�Ȥ�������(((|r|)), ((|g|)), ((|b|)))�ǻ��ꤷ������
443
- ���褷�ޤ������褵���ʸ�����ʼ���®�٤ʤɤ� ((<SDL::TTF#render_solid_utf8>))
444
- ��Ʊ������������ޤ����ܤ����Ϥ�����򸫤Ƥ���������
445
-
446
-
447
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
448
- * See Also
449
-
450
- ((<SDL::TTF#draw_shaded_utf8>)), ((<SDL::TTF#draw_blended_utf8>)), ((<SDL::TTF#render_solid_utf8>))
451
-
452
- --- SDL::TTF#draw_shaded_utf8(dest, text, x, y, fg_r, fg_g, fg_b, bg_r, bg_g, bg_b)
453
- --- SDL::TTF#drawShadedUTF8(dest, text, x, y, fg_r, fg_g, fg_b, bg_r, bg_g, bg_b)
454
-
455
- ((|text|)) �ǻ��ꤷ��ʸ����� ((|dest|)) �ǻ��ꤷ��((<�����ե���|SDL::Surface>))��
456
- (((|x|)), ((|y|))) �򺸾�Ȥ�������(((|fg_r|)), ((|fg_g|)), ((|fg_b|)))�ǻ��ꤷ��
457
- ����ʸ����(((|bg_r|)), ((|bg_g|)), ((|bg_b|)))�ǻ��ꤷ�������طʤȤ���
458
- ���褷�ޤ������褵���ʸ�����ʼ���®�٤ʤɤ� ((<SDL::TTF#render_shaded_utf8>))
459
- ��Ʊ������������ޤ������Τ���(((|x|)), ((|y|)))�򺸾�Ȥ���
460
- ((<SDL::TTF#size_text>))(((|text|))) �������⤵�Ȥ���Ĺ���������ꤷ���طʿ���
461
- �ɤ�Ĥ֤���ޤ���
462
-
463
-
464
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
465
- * See Also
466
-
467
- ((<SDL::TTF#draw_solid_utf8>)), ((<SDL::TTF#draw_blended_utf8>)), ((<SDL::TTF#render_shaded_utf8>))
468
-
469
- --- SDL::TTF#draw_blended_utf8(dest, text, x, y, r, g, b)
470
- --- SDL::TTF#drawBlendedUTF8(dest, text, x, y, r, g, b)
471
-
472
- ((|text|)) �ǻ��ꤷ��ʸ����� ((|dest|)) �ǻ��ꤷ��((<�����ե���|SDL::Surface>))��
473
- (((|x|)), ((|y|))) �򺸾�Ȥ�������(((|r|)), ((|g|)), ((|b|)))�ǻ��ꤷ������
474
- ���褷�ޤ������褵���ʸ�����ʼ���®�٤ʤɤ� ((<SDL::TTF#render_blended_utf8>))
475
- ��Ʊ������������ޤ����ܤ����Ϥ�����򸫤Ƥ���������
476
-
477
-
478
- ���Υ᥽�åɤ�Ȥ��ˤ� SDL_ttf ��ɬ�פǤ���
479
- * See Also
480
-
481
- ((<SDL::TTF#draw_solid_utf8>)), ((<SDL::TTF#draw_shaded_utf8>)), ((<SDL::TTF#render_blended_utf8>))
482
-
483
- --- SDL::BMFont.open(filename, flags)
484
-
485
- ((|filename|)) �ǻ��ꤷ���ե���Ȥ�����ɤ������Υե���Ȥ�ɽ�魯
486
- ���֥������Ȥ� ((<SDL::BMFont>)) �Υ��󥹥��󥹤Ȥ����֤��ޤ���
487
-
488
- ((|flags|)) �Ȥ��Ƥϰʲ����ͤ�Ϳ���뤳�Ȥ��Ǥ��ޤ���
489
- :SDL::BMFont::TRANSPARENT
490
- ((<SDL::Surface#set_color_key>)) ��Ŭ����Ʃ�ῧ��Ϳ����(��˻Ȥ��٤�)��
491
- :SDL::BMFont::NOCONVERT
492
- �ɤ߹�����ե���Ȳ������Ф� ((<SDL::Surface#display_format>)) ��ƤФʤ���
493
- :SDL::BMFont::SFONT
494
- �ɤ߹�����ե���Ȳ����� SFont �ե����ޥåȤȲ��ꤹ�롣
495
- �����Ϳ���ʤ������ȼ������Ȳ��ꤹ�롣
496
- :SDL::BMFont::PALETTE
497
- �ɤߤ���������ե����� 8bpp�ѥ�å��դ������ե������Ѵ����롣
498
- ����� SFont �����Υե���Ȥ��Ф��ƤϻȤ��ޤ���
499
- ����򤹤�����褬�����٤��ʤ�ޤ��� ((<SDL::BMFont#set_color>)) ��®���ʤ�ޤ���
500
-
501
-
502
- ���Υ᥽�åɤ�Ȥ��ˤ� SGE ��ɬ�פǤ���
503
- --- SDL::BMFont#set_color(r, g, b)
504
- --- SDL::BMFont#setColor(r, g, b)
505
-
506
- �ե���Ȥο��� (((|r|)), ((|g|)), ((|b|))) ���ѹ����ޤ���¿���ե���Ȥ����
507
- SFont���Ф��Ƥ����ѤǤ��ޤ��󡣤��Υ᥽�åɤ��٤�Ƥ֤ΤǤ����
508
- ((<SDL::BMFont.open>)) �� ((<SDL::BMFont::PALETTE>)) ��Ϳ���Ƥ������ɤ��Ǥ��礦��
509
-
510
-
511
- ���Υ᥽�åɤ�Ȥ��ˤ� SGE ��ɬ�פǤ���
512
- --- SDL::BMFont#height
513
-
514
- �ե���Ȥι⤵���֤��ޤ���
515
-
516
-
517
- ���Υ᥽�åɤ�Ȥ��ˤ� SGE ��ɬ�פǤ���
518
- * See Also
519
-
520
- ((<SDL::BMFont#width>))
521
-
522
- --- SDL::BMFont#width
523
-
524
- ʸ�����ʬ�������֤��ޤ���SFont ���Ф��ƤϻȤ��ޤ���
525
-
526
-
527
- ���Υ᥽�åɤ�Ȥ��ˤ� SGE ��ɬ�פǤ���
528
- * See Also
529
-
530
- ((<SDL::BMFont#height>))
531
-
532
- --- SDL::BMFont#text_size(string)
533
- --- SDL::BMFont#textSize(string)
534
-
535
- ((|self|)) ��ɽ�蘆���ե���Ȥ� ((|string|)) �����褹��Τ�ɬ�פ�
536
- �����ե������礭���� [��, �⤵] �Ȥ���������֤��ޤ���
537
- Ĺ����ñ�̤ϥԥ�������Ǥ���
538
-
539
-
540
- ���Υ᥽�åɤ�Ȥ��ˤ� SGE ��ɬ�פǤ���
541
- * See Also
542
-
543
- ((<SDL::BMFont#textout>))
544
-
545
- --- SDL::BMFont#textout(surface, string, x, y)
546
-
547
- ((|string|)) �� ((|surface|)) �� (((|x|)), ((|y|))) �����褷�ޤ���
548
-
549
-
550
- ���Υ᥽�åɤ�Ȥ��ˤ� SGE ��ɬ�פǤ���
551
- * See Also
552
-
553
- ((<SDL::BMFont#text_size>))
554
-
555
- --- SDL::Kanji.open(filename, size)
556
-
557
- ((|filename|)) �ǻ��ꤷ�� bdf �ե�������ɤߤ��ߡ�((<SDL::Kanji>)) �Υ��󥹥���
558
- ���֤��ޤ���((|size|)) ��ʸ���Υ���������ꤷ�ޤ��������ͤ�
559
- ʸ���ι⤵���������ޤ����ޤ�������Ⱦ��ʸ��2ʸ��ʬ�����ˤ�ʤ�ޤ���
560
-
561
- * See Also
562
-
563
- ((<SDL::Kanji#add>))
564
-
565
- --- SDL::Kanji#add(filename)
566
-
567
- ((|filename|)) �ǻ��ꤷ�� bdf �ե�������ɤߤ��ߡ�((|self|)) ��̵���ä�ʸ����
568
- �������ե���Ȥ��䴰���ޤ��������ȤäƱѸ�����ܸ���̤Υե����
569
- �����ɤߤ��ࡢ�Ȥ��ä����Ȥ��Ǥ��ޤ���
570
-
571
- * See Also
572
-
573
- ((<SDL::Kanji#open>))
574
-
575
- --- SDL::Kanji#set_coding_system(sys)
576
- --- SDL::Kanji#setCodingSystem(sys)
577
-
578
- ʸ�������ɤ���ꤷ�ޤ��� ((|sys|)) �Ȥ��ưʲ��Τ����줫�����Ǥ��ޤ���
579
- * SDL::Kanji::SJIS
580
- * SDL::Kanji::EUC
581
- * SDL::Kanji::JIS
582
- �ǥե���ȤǤ� SDL::Kanji::JIS �����ꤵ��Ƥ��ޤ���
583
-
584
- --- SDL::Kanji#height
585
-
586
- �ե���Ȥι⤵��ԥ���������֤��ޤ�������Ϥ���������ʸ�������Ǥ��ꡢ
587
- ������Ⱦ��ʸ��������2�ܤ��ͤǤ���
588
-
589
- --- SDL::Kanji#textwidth(text)
590
-
591
- ((|text|)) �ǻ��ꤷ��ʸ��������褹��Τ�ɬ�פ�����ԥ���������֤��ޤ���
592
-
593
- * See Also
594
-
595
- ((<SDL::Kanji#width>))
596
-
597
- --- SDL::Kanji#width
598
-
599
- Ⱦ��ʸ��1ʸ��������ԥ�����������ޤ���
600
-
601
- * See Also
602
-
603
- ((<SDL.textwidth>))
604
-
605
- --- SDL::Kanji#put(surface, text, x, y, r, g, b)
606
-
607
- ((|text|)) �ǻ��ꤷ��ʸ����� ((|surface|)) �� (((|x|)), ((|y|))) �� (((|r|)), ((|g|)), ((|b|)))
608
- �ǻ��ꤷ���������褷�ޤ���
609
-
610
- * See Also
611
-
612
- ((<SDL::Kanji#put_tate>))
613
-
614
- --- SDL::Kanji#put_tate(surface, x, y, r, g, b)
615
- --- SDL::Kanji#putTate(surface, x, y, r, g, b)
616
-
617
- ((|text|)) �ǻ��ꤷ��ʸ����� ((|surface|)) �� (((|x|)), ((|y|))) �� (((|r|)), ((|g|)), ((|b|)))
618
- �ǻ��ꤷ�����ǽĽ񤭤����褷�ޤ���
619
-
620
- ASCIIʸ���ϽĽ񤭤ˤǤ��ޤ���
621
-
622
- * See Also
623
-
624
- ((<SDL::Kanji#put>))
625
-