rubysdl 1.3.1 → 2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MANIFEST +22 -2
- data/NEWS.en +80 -0
- data/NEWS.ja +83 -0
- data/README.en +2 -1
- data/README.ja +2 -2
- data/doc-en/Makefile +18 -0
- data/doc-en/cdrom.rsd +417 -0
- data/doc-en/collision.rsd +174 -0
- data/doc-en/event.rsd +1476 -0
- data/doc-en/font.rsd +811 -0
- data/doc-en/general.rsd +43 -0
- data/doc-en/init.rsd +168 -0
- data/doc-en/joystick.rsd +401 -0
- data/doc-en/mixer.rsd +869 -0
- data/doc-en/mpeg.rsd +585 -0
- data/doc-en/opengl.rsd +155 -0
- data/doc-en/sdlskk.rsd +472 -0
- data/doc-en/time.rsd +46 -0
- data/doc-en/video.rsd +2806 -0
- data/doc-en/wm.rsd +112 -0
- data/doc/Makefile +1 -1
- data/doc/cdrom.rsd +3 -3
- data/doc/event.rsd +178 -179
- data/doc/general.rsd +10 -0
- data/doc/init.rsd +2 -2
- data/doc/joystick.rsd +29 -5
- data/doc/mixer.rsd +20 -0
- data/doc/rsd.rb +42 -9
- data/doc/sdlskk.rsd +7 -7
- data/doc/video.rsd +461 -168
- data/doc/wm.rsd +2 -2
- data/extconf.rb +1 -8
- data/lib/rubysdl_aliases.rb +52 -190
- data/lib/rubysdl_compatible_ver1.rb +243 -0
- data/lib/sdl.rb +58 -92
- data/rubysdl.h +59 -68
- data/rubysdl_cdrom.c +125 -102
- data/{rubysdl_doc.en.rd → rubysdl_doc_old.en.rd} +3 -2
- data/rubysdl_event.c +318 -255
- data/rubysdl_event_key.c +299 -287
- data/rubysdl_image.c +37 -13
- data/rubysdl_joystick.c +180 -67
- data/rubysdl_kanji.c +61 -75
- data/rubysdl_main.c +65 -138
- data/rubysdl_mixer.c +339 -214
- data/rubysdl_mouse.c +50 -43
- data/rubysdl_opengl.c +31 -28
- data/rubysdl_pixel.c +17 -28
- data/rubysdl_ref.en.html +5658 -0
- data/rubysdl_ref.en.rd +6337 -0
- data/rubysdl_ref.html +2253 -1964
- data/rubysdl_ref.rd +823 -469
- data/rubysdl_rwops.c +9 -6
- data/rubysdl_sdlskk.c +137 -165
- data/rubysdl_sge_video.c +355 -469
- data/rubysdl_smpeg.c +189 -190
- data/rubysdl_time.c +1 -1
- data/rubysdl_ttf.c +147 -215
- data/rubysdl_video.c +486 -405
- data/rubysdl_wm.c +30 -30
- data/sample/aadraw.rb +9 -9
- data/sample/alpha.rb +12 -13
- data/sample/alphadraw.rb +10 -10
- data/sample/bfont.rb +4 -4
- data/sample/cdrom.rb +11 -4
- data/sample/collision.rb +20 -20
- data/sample/cursor.rb +5 -5
- data/sample/ellipses.rb +20 -16
- data/sample/event2.rb +11 -9
- data/sample/font.rb +4 -4
- data/sample/fpstimer.rb +3 -3
- data/sample/icon.bmp.gz +0 -0
- data/sample/icon.png +0 -0
- data/sample/joy2.rb +14 -14
- data/sample/kanji.rb +7 -7
- data/sample/load_from_io.rb +44 -0
- data/sample/movesp.rb +13 -12
- data/sample/playmod.rb +2 -3
- data/sample/plaympeg.rb +8 -8
- data/sample/playwave.rb +5 -6
- data/sample/sdlskk.rb +11 -11
- data/sample/sgetest.rb +14 -12
- data/sample/stetris.rb +12 -13
- data/sample/testgl.rb +13 -14
- data/sample/testsprite.rb +12 -11
- data/sample/transformblit.rb +23 -22
- metadata +62 -35
- data/rubysdl_event2.c +0 -417
data/doc/general.rsd
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
* ((<"Ruby/SDL���">))
|
3
3
|
* ((<�����>))
|
4
4
|
* ((<Video>))
|
5
|
+
* ((<OpenGL��Ϣ>))
|
5
6
|
* ((<Window Management>))
|
6
7
|
* ((<Event>))
|
7
8
|
* ((<Joystick>))
|
@@ -13,6 +14,15 @@
|
|
13
14
|
* ((<SDLSKK>))
|
14
15
|
* ((<MPEG playback>))
|
15
16
|
|
17
|
+
= ���Υɥ�����ȤˤĤ���
|
18
|
+
���Υɥ�����Ȥ�Ruby/SDL�Υ�ե���ޥ˥奢��Ǥ���
|
19
|
+
Ruby/SDL�γƵ�ǽ���ƥ��饹���ƥ�åɤ���⤷�Ƥ��ޤ���
|
20
|
+
|
21
|
+
���Υ�ե����
|
22
|
+
((<URL:http://www.tacoworks.jp/software/SDLdoc-jp/index-j.html>))
|
23
|
+
�ˤ�����SDLdoc���ܸ������ץ��������Ȥ����̤����Ѥ��Ƥ��ޤ���
|
24
|
+
�ץ��������ȤΤߤʤ���˴��դ��ޤ���
|
25
|
+
|
16
26
|
= Ruby/SDL���
|
17
27
|
Ruby/SDL �� ((<SDL|URL:http://www.libsdl.org/>)) ��
|
18
28
|
((<Ruby|URL:http://www.ruby-lang.org/>)) �������Ѥ��뤿���
|
data/doc/init.rsd
CHANGED
@@ -163,9 +163,9 @@ screen = SDL.setVideoMode(640, 480, 16, SDL::SWSURFACE)
|
|
163
163
|
|
164
164
|
# �ᥤ��롼�ס��Ȥꤢ�������⤷�ʤ�
|
165
165
|
unless $terminated
|
166
|
-
while event = SDL::
|
166
|
+
while event = SDL::Event.poll
|
167
167
|
case event
|
168
|
-
when SDL::
|
168
|
+
when SDL::Event::KeyDown, SDL::Event::Quit
|
169
169
|
exit
|
170
170
|
end
|
171
171
|
end
|
data/doc/joystick.rsd
CHANGED
@@ -242,14 +242,23 @@ DESC
|
|
242
242
|
|
243
243
|
�ǥե���ȤǤ�ͭ���ˤʤäƤ��ޤ���
|
244
244
|
|
245
|
+
NOTE
|
246
|
+
�����̵���ˤ���ΤϤ������ᤷ�ޤ���
|
247
|
+
|
248
|
+
�����ͭ���ˤ��Ƥ⡢@[Joystick.open]�ǥǥХ������ץʤ�
|
249
|
+
�¤ꤽ�Υ��祤���ƥå��˴ؤ��륤�٥�Ȥ�ȯ�����ޤ���
|
250
|
+
|
251
|
+
���Υ�åɤ�Ƥ֤ȥ��٥�ȥ��塼����Ȥ�˼ΤƤ�
|
252
|
+
���ޤ���ǽ��������Τ����դ��Ƥ���������
|
253
|
+
|
245
254
|
SEEALSO
|
246
255
|
Joystick.update_all
|
247
256
|
Joystick.poll
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
257
|
+
Event::JoyAxis
|
258
|
+
Event::JoyBall
|
259
|
+
Event::JoyButtonDown
|
260
|
+
Event::JoyButtonUp
|
261
|
+
Event::JoyHat
|
253
262
|
|
254
263
|
%%
|
255
264
|
NAME poll
|
@@ -384,4 +393,19 @@ EXAMPLE
|
|
384
393
|
delta_x, delta_y = joy.ball(0)
|
385
394
|
printf("�ȥ�å��ܡ�������а�ư��- X:%d, Y:%d\n", delta_x, delta_y)
|
386
395
|
|
396
|
+
%%
|
397
|
+
NAME close
|
398
|
+
MOD Joystick
|
399
|
+
TYPE #
|
400
|
+
PURPOSE �����ץ�Ƥ��른�祤���ƥ��å����������ޤ���
|
401
|
+
|
402
|
+
PROTO
|
403
|
+
close
|
404
|
+
|
405
|
+
DESC
|
406
|
+
@[Joystick.open] �ǥ����ץ줿���祤���ƥ��å��ǥХ�����
|
407
|
+
�����������ޤ���
|
387
408
|
|
409
|
+
SEEALSO
|
410
|
+
Joystick.open
|
411
|
+
Joystick.open?
|
data/doc/mixer.rsd
CHANGED
@@ -588,6 +588,26 @@ Mixer.fading
|
|
588
588
|
Mixer.play_channel
|
589
589
|
Mixer.pause
|
590
590
|
|
591
|
+
%%
|
592
|
+
NAME playing_channels
|
593
|
+
MOD Mixer
|
594
|
+
TYPE .
|
595
|
+
PURPOSE ������Υ����ͥ�ο������ޤ�
|
596
|
+
RVAL Integer
|
597
|
+
|
598
|
+
PROTO
|
599
|
+
playingChannels
|
600
|
+
playing_channels
|
601
|
+
|
602
|
+
DESC
|
603
|
+
������Υ����ͥ�ο����֤��ޤ���
|
604
|
+
|
605
|
+
SEEALSO
|
606
|
+
Mixer.pause?
|
607
|
+
Mixer.fading
|
608
|
+
Mixer.play_channel
|
609
|
+
Mixer.pause
|
610
|
+
|
591
611
|
%%
|
592
612
|
NAME pause?
|
593
613
|
MOD Mixer
|
data/doc/rsd.rb
CHANGED
@@ -31,7 +31,7 @@ def format(lines,spaces)
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
MethodDesc = Struct.new(:output, :purpose, :fullname, :module, :lock)
|
34
|
+
MethodDesc = Struct.new(:output, :purpose, :fullname, :module, :lock, :obsolete)
|
35
35
|
|
36
36
|
def rsd2rd(input)
|
37
37
|
part = Hash.new{""}
|
@@ -39,23 +39,31 @@ def rsd2rd(input)
|
|
39
39
|
|
40
40
|
input.each do |line|
|
41
41
|
case line
|
42
|
-
when /^(MOD|DEP|NAME|PURPOSE|TYPE|RVAL)\s+/
|
42
|
+
when /^(MOD|DEP|NAME|PURPOSE|TYPE|RVAL|OBSOLETE)\s+/
|
43
43
|
part[$1] = $'.chomp
|
44
44
|
when "LOCK\n"
|
45
45
|
part["LOCK"] = ""
|
46
46
|
when /^(PROTO|DESC|NOTES|RET|EXCEPTION|EXAMPLE|BUG|SEEALSO|COMMENT)\s*$/
|
47
47
|
mode = $1
|
48
48
|
when "EXCEPTION *\n"
|
49
|
-
|
49
|
+
if $english
|
50
|
+
part["EXCEPTION"] = "Raises @[Error] on failure"
|
51
|
+
else
|
52
|
+
part["EXCEPTION"] = "���Ԥ����Ȥ��ˤ��㳰@[Error]��ȯ�������ޤ���\n"
|
53
|
+
end
|
50
54
|
else
|
51
55
|
part[mode] += line
|
52
56
|
end
|
53
57
|
end
|
54
58
|
|
55
|
-
%w(NAME PURPOSE TYPE PROTO
|
59
|
+
%w(NAME PURPOSE TYPE PROTO).each do |v|
|
56
60
|
raise "There isn't #{v} at #{part["NAME"]}" unless part.key?(v)
|
57
61
|
end
|
58
62
|
|
63
|
+
if !part.has_key?("DESC") && !part.has_key?("OBSOLETE")
|
64
|
+
raise "There isn't DESC and OBSOLETE at #{part["NAME"]}"
|
65
|
+
end
|
66
|
+
|
59
67
|
part = part.hash_map{|_, line| line.sub(/\n+\z/,"\n")}
|
60
68
|
|
61
69
|
output = ""
|
@@ -63,15 +71,32 @@ def rsd2rd(input)
|
|
63
71
|
|
64
72
|
part["PROTO"].each{|proto| output << "--- #{ns}#{part["TYPE"]}#{proto}"}
|
65
73
|
output << "\n"
|
74
|
+
if part.key?("OBSOLETE")
|
75
|
+
if $english
|
76
|
+
output << format("This method is obsolete. Please use @[#{part["OBSOLETE"]}] instead.\n", 4)
|
77
|
+
else
|
78
|
+
output << format("���Υ�åɤ����ѤϿ侩����ޤ��������@[#{part["OBSOLETE"]}]�����Ѥ��Ƥ���������\n", 4)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
66
82
|
output << format(part["DESC"],4)
|
83
|
+
|
67
84
|
if part.key?("LOCK")
|
68
85
|
output << "\n"
|
69
|
-
|
86
|
+
if $english
|
87
|
+
output << format("This method needs @[Locking|Surface#lock].\nIf @[auto_lock?] is true, Ruby/SDL automatically locks/unlocks the surface.",4)
|
88
|
+
else
|
89
|
+
output << format("���Υ�åɤ�Ȥ��ˤϥ����ե�����@[���å�|Surface#lock]����ɬ�פ�����ޤ���\n@[auto_lock?]�����ξ��ϥ����ƥब��ưŪ�˥��å�/������å����ޤ���",4)
|
90
|
+
end
|
70
91
|
end
|
71
92
|
output << format(part["RET"],4)
|
72
93
|
output << format(part["EXCEPTION"],4)
|
73
94
|
if part.key?("DEP")
|
74
|
-
|
95
|
+
if $english
|
96
|
+
output << "\n You need #{part["DEP"]} to use this method.\n"
|
97
|
+
else
|
98
|
+
output << "\n ���Υ�åɤ�Ȥ��ˤ� #{part["DEP"]} ��ɬ�פǤ���\n"
|
99
|
+
end
|
75
100
|
end
|
76
101
|
if part.key?("EXAMPLE")
|
77
102
|
output << "\n EXAMPLE\n"
|
@@ -98,11 +123,13 @@ def rsd2rd(input)
|
|
98
123
|
part["PURPOSE"],
|
99
124
|
"#{ns}#{part["TYPE"]}#{part["NAME"]}",
|
100
125
|
part["MOD"],
|
101
|
-
part.key?("LOCK")
|
126
|
+
part.key?("LOCK"),
|
127
|
+
part.has_key?("OBSOLETE"))
|
102
128
|
end
|
103
129
|
|
104
130
|
def toc(methods)
|
105
|
-
methods.
|
131
|
+
methods.reject{|m| m.obsolete}.
|
132
|
+
map{|m| " * ((<#{m.fullname}>)) -- #{inline(m.purpose)}" }.join("\n")
|
106
133
|
end
|
107
134
|
|
108
135
|
def locklist(methods)
|
@@ -110,11 +137,17 @@ def locklist(methods)
|
|
110
137
|
end
|
111
138
|
|
112
139
|
def methodlist(mod, methods)
|
113
|
-
methods.find_all{|m| m.module == mod}.
|
140
|
+
methods.find_all{|m| m.module == mod && !m.obsolete}.
|
114
141
|
map{|m| "* ((<#{m.fullname}>)) -- #{inline(m.purpose)}"}.
|
115
142
|
join("\n")
|
116
143
|
end
|
117
144
|
|
145
|
+
if ARGV.size == 1 && ARGV.shift == "-e"
|
146
|
+
$english = true
|
147
|
+
else
|
148
|
+
$english = false
|
149
|
+
end
|
150
|
+
|
118
151
|
synop, descs = ARGF.read.split(/^%%%$/)
|
119
152
|
methods = if descs then descs.split(/^%%$/).map{|m| rsd2rd(m)} else [] end
|
120
153
|
|
data/doc/sdlskk.rsd
CHANGED
@@ -354,15 +354,15 @@ input(event)
|
|
354
354
|
DESC
|
355
355
|
���٥�ȷ�ͳ�ǥ����ܡ��ɤ�������Ϥ�����դ���
|
356
356
|
����ƥ����Ȥξ��֤��ѹ����ޤ���
|
357
|
-
$[event] �ˤ� @[
|
358
|
-
@[
|
357
|
+
$[event] �ˤ� @[Event] �Υ�����Ϳ���ޤ���
|
358
|
+
@[Event::KeyDown] �ʳ��Υ��٥�Ȥ�̵�뤷�ޤ���
|
359
359
|
|
360
360
|
EXAMPLE
|
361
|
-
while event = SDL::
|
361
|
+
while event = SDL::Event.poll do
|
362
362
|
case event
|
363
|
-
when SDL::
|
363
|
+
when SDL::Event::Quit
|
364
364
|
exit
|
365
|
-
when SDL::
|
365
|
+
when SDL::Event::KeyDown
|
366
366
|
if event.sym == SDL::Key::ESCAPE then
|
367
367
|
exit
|
368
368
|
end
|
@@ -439,7 +439,7 @@ PROTO
|
|
439
439
|
clear
|
440
440
|
|
441
441
|
DESC
|
442
|
-
|
442
|
+
����ʸ��������Ͼ��֤ꥢ���ƽ�����֤��ᤷ�ޤ���
|
443
443
|
|
444
444
|
SEEALSO
|
445
445
|
SKK::Context#clear_text
|
@@ -480,7 +480,7 @@ PROTO
|
|
480
480
|
get_basic_mode
|
481
481
|
|
482
482
|
DESC
|
483
|
-
|
483
|
+
$[self] �����ϥ⡼�ɤ����������ϥ⡼�ɡ�����ե��٥å����ϥ⡼�ɡ�
|
484
484
|
JISX0208����ե��٥å����ϥ⡼�ɤΤ����줫�Ǥ���п�����
|
485
485
|
�ʳ��Ǥϵ����֤���������Ͽ�⡼�ɤΤȤ��ʤɤ���֤��ޤ���
|
486
486
|
|
data/doc/video.rsd
CHANGED
@@ -36,7 +36,7 @@ SDL
|
|
36
36
|
�����κݤ��Ѵ����Ƥ��뤫�⤷��ޤ���
|
37
37
|
�Ǥ�褤��ˡ�ϡ�
|
38
38
|
˾�ޤ���Τ˺Ǥ�ᤤ�ӥǥ��⡼�ɤ�
|
39
|
-
@[�䤤��碌|
|
39
|
+
@[�䤤��碌|Screen.info]��
|
40
40
|
���Υԥ�����ե����ޥåȤ˹�碌�Ʋ�����
|
41
41
|
@[�Ѵ�|Surface#display_format]���뤳�ȤǤ���
|
42
42
|
|
@@ -65,7 +65,7 @@ METHODS(Surface)
|
|
65
65
|
���Υ��饹�� @[Surface] �Υ��֥��饹�Ǥ��ꡢ�ºݤ˲��̤�ɽ�������
|
66
66
|
�����ե�����ɽ�路�ޤ���
|
67
67
|
|
68
|
-
�ӥǥ��ե졼��Хåե��� @[
|
68
|
+
�ӥǥ��ե졼��Хåե��� @[Screen.open] �� @[Screen.get]
|
69
69
|
���������ޤ���
|
70
70
|
|
71
71
|
��åɤ���ӥ��饹��åɤΥꥹ��
|
@@ -73,7 +73,7 @@ METHODS(Screen)
|
|
73
73
|
|
74
74
|
== SDL::VideoInfo
|
75
75
|
�ӥǥ��������åȤξ����ɽ�魯���饹�Ǥ���
|
76
|
-
���Υ��饹�Υ����� @[
|
76
|
+
���Υ��饹�Υ����� @[Screen.info] �����֤��ͤȤ��������ޤ���
|
77
77
|
����ϰʲ��Υ�åɤ�����ޤ���
|
78
78
|
|
79
79
|
--- SDL::VideoInfo#hw_available
|
@@ -121,6 +121,13 @@ METHODS(Screen)
|
|
121
121
|
|
122
122
|
��ԥ����뤢����ΥХ��ȿ�
|
123
123
|
|
124
|
+
== SDL::PixelFormat
|
125
|
+
�����ե����Υե����ޥåȤ�ɽ�����饹�Ǥ���
|
126
|
+
�ܤ�����((<�����ԥ�����ե����ޥåȡ��ԥ������ͤˤĤ���>))
|
127
|
+
��ߤƤ���������
|
128
|
+
|
129
|
+
��åɤ���ӥ��饹��åɤΥꥹ��
|
130
|
+
METHODS(PixelFormat)
|
124
131
|
|
125
132
|
== �����ԥ�����ե����ޥåȡ��ԥ������ͤˤĤ���
|
126
133
|
�ޤ��� Ruby/SDL �ˤ����ƽ��פʤ��Ȥ���˽ޤ���
|
@@ -129,8 +136,8 @@ Ruby/SDL
|
|
129
136
|
����RGBA�ͤ����̵��32�ӥå������Ȥ��Ѵ���§��ԥ�����ե����ޥåȤ�
|
130
137
|
�Ƥӡ��Ѵ�����ͤ�ԥ������ͤȸƤӤޤ���
|
131
138
|
�ԥ�����ե����ޥåȤϥ����ե������Ȥ˷�ޤäƤ��ơ�
|
132
|
-
�Ѵ���@[
|
133
|
-
@[
|
139
|
+
�Ѵ���@[PixelFormat#map_rgb]��@[PixelFormat#map_rgba]��
|
140
|
+
@[PixelFormat#get_rgb]��@[PixelFormat#get_rgba]�Ȥ�����åɤǤ��ޤ���
|
134
141
|
��åɤΰ����ʤɤǿ�����ꤹ���硢[231, 251, 100] �Ȥ����褦��
|
135
142
|
���Ǥ�3�Ĥ�����(RGB,A=255)��
|
136
143
|
[231, 251, 100, 128]�Ȥ������Ǥ�4�Ĥ�����(RGBA)���⤷���ϥԥ������ͤ�
|
@@ -160,14 +167,14 @@ R,G,B
|
|
160
167
|
���ȤǤ���Ȳ��Ǥ��ޤ���
|
161
168
|
|
162
169
|
���ο��ǡ����ȥԥ������ͤ�����Ѵ���
|
163
|
-
@[
|
170
|
+
@[PixelFormat#map_rgb]��@[PixelFormat#get_rgb]�Ȥ�����åɤǤ��ޤ���
|
164
171
|
|
165
172
|
�ޤ����ƥ�åɤΰ����ǿ�����ꤹ����ϡ�[r, g, b]�Ȥ������Ǥ�����3�Ĥ�
|
166
173
|
���⤷���Ϥ��Υ����ե����Υԥ�����ե����ޥåȤ��Ѵ������ԥ������ͤ�
|
167
174
|
�ɤ���Ǥ�Ȥ����礬�ۤȤ�ɤǤ���
|
168
175
|
|
169
176
|
�Ǹ�˦��ͤˤĤ��Ʋ��⤷�ޤ��������ͤϤ���������̤β�����Ť�碌��
|
170
|
-
���˰�̣�Τ����ͤǤ���@[
|
177
|
+
���˰�̣�Τ����ͤǤ���@[Surface.blit]�ʤɤ�2�Ĥβ������Ť�蘆����硢
|
171
178
|
�̾ﲼ�β����Ͼ�β����Ǵ����˱�����Ƥ��ޤ��ޤ�����������β�����
|
172
179
|
���ͤ���ꤷ�Ƥ����ȡ���β����ο��Ȳ��β����ο��������礵��ޤ���
|
173
180
|
���κ����礻�γ�����ͤȸƤӤޤ���SDL�ǤϦ��ͤ�0����255�ޤǤ��ͤ�Ȥꤨ�ޤ���
|
@@ -175,7 +182,7 @@ R,G,B
|
|
175
182
|
�����ͤ�bpp��32�ξ��ˤϡ��ƥԥ����뤴�Ȥ˻��ꤹ�뤳�Ȥ��Ǥ��ޤ���
|
176
183
|
�Ĥޤ�ԥ������ͤˤ� R,G,B �Τۤ�����ե�(Alpha)�ͤ�ޤ�뤳�Ȥ��Ǥ����
|
177
184
|
�������ȤǤ������Φ��ͤ�ޤ�Ѵ��ˤ�
|
178
|
-
@[
|
185
|
+
@[PixelFormat#map_rgba]��[PixelFormat#get_rgba]��Ȥ��ޤ���
|
179
186
|
�ޤ��ƥ�åɤΰ����ǥ���ե��դ��ο�����ꤹ����ϡ�[r,g,b,a]�Ȥ���
|
180
187
|
���Ǥ�����4�Ĥ������Ȥ����Ȥ���ǽ�Ǥ���
|
181
188
|
|
@@ -185,11 +192,22 @@ NAME get_video_surface
|
|
185
192
|
TYPE .
|
186
193
|
PURPOSE ���ߤ�ɽ�������ե������֤��ޤ���
|
187
194
|
RVAL Screen
|
195
|
+
OBSOLETE Screen.get
|
188
196
|
|
189
197
|
PROTO
|
190
198
|
get_video_surface
|
191
199
|
getVideoSurface
|
192
200
|
|
201
|
+
%%
|
202
|
+
NAME get
|
203
|
+
MOD Screen
|
204
|
+
TYPE .
|
205
|
+
PURPOSE ���ߤ�ɽ�������ե������֤��ޤ���
|
206
|
+
RVAL Screen
|
207
|
+
|
208
|
+
PROTO
|
209
|
+
get
|
210
|
+
|
193
211
|
DESC
|
194
212
|
���Υ�åɤϸ��ߤ�ɽ�������ե������֤��ޤ���
|
195
213
|
SDL ��ɽ�������ե�����ǥե����ޥå��Ѵ���ԤäƤ�����ϡ�
|
@@ -206,15 +224,26 @@ NAME video_info
|
|
206
224
|
TYPE .
|
207
225
|
PURPOSE �ӥǥ��ϡ��ɥ������ˤĤ��Ƥξ�����֤��ޤ���
|
208
226
|
RVAL VideoInfo
|
227
|
+
OBSOLETE Screen.info
|
209
228
|
|
210
229
|
PROTO
|
211
230
|
video_info
|
212
231
|
videoInfo
|
213
232
|
|
233
|
+
%%
|
234
|
+
NAME info
|
235
|
+
MOD Screen
|
236
|
+
TYPE .
|
237
|
+
PURPOSE �ӥǥ��ϡ��ɥ������ˤĤ��Ƥξ�����֤��ޤ���
|
238
|
+
RVAL VideoInfo
|
239
|
+
|
240
|
+
PROTO
|
241
|
+
info
|
242
|
+
|
214
243
|
DESC
|
215
244
|
���δؿ��ϥӥǥ��ϡ��ɥ������˴ؤ���@[����|VideoInfo]���֤��ޤ���
|
216
245
|
|
217
|
-
@[
|
246
|
+
@[Screen.open]�����ˤ��줬�ƤФ��ȡ�
|
218
247
|
�֤��줿���֥������Ȥ�bpp���ȥ�ӥ塼�Ȥˤ�
|
219
248
|
�ֺǤ�Ŭ�����ץӥǥ��⡼�ɤΥԥ�����ե����ޥåȤ�����ޤ���
|
220
249
|
|
@@ -224,7 +253,7 @@ RET
|
|
224
253
|
EXCEPTION *
|
225
254
|
|
226
255
|
SEEALSO
|
227
|
-
|
256
|
+
Screen.open
|
228
257
|
VideoInfo
|
229
258
|
|
230
259
|
%%
|
@@ -232,11 +261,23 @@ NAME video_driver_name
|
|
232
261
|
TYPE .
|
233
262
|
PURPOSE �ӥǥ��ɥ饤�Ф�̾����������ޤ���
|
234
263
|
RVAL String
|
264
|
+
OBSOLETE Screen.driver_name
|
235
265
|
|
236
266
|
PROTO
|
237
267
|
video_driver_name
|
238
268
|
videoDriverName
|
239
269
|
|
270
|
+
%%
|
271
|
+
NAME driver_name
|
272
|
+
MOD Screen
|
273
|
+
TYPE .
|
274
|
+
PURPOSE �ӥǥ��ɥ饤�Ф�̾����������ޤ���
|
275
|
+
RVAL String
|
276
|
+
|
277
|
+
PROTO
|
278
|
+
driver_name
|
279
|
+
driverName
|
280
|
+
|
240
281
|
DESC
|
241
282
|
�ɥ饤��̾�� "x11" �� "windib" �Τ褦��ñ�ʤ� 1 ��μ��̻ҤǤ���
|
242
283
|
|
@@ -254,6 +295,18 @@ NAME list_modes
|
|
254
295
|
TYPE .
|
255
296
|
PURPOSE Ϳ����줿�ե����ޥåȤȥӥǥ��Υե饰���Ф������Ѳ�ǽ�ʲ��̥⡼�ɤ�������֤��ޤ���
|
256
297
|
RVAL nil/true/Array of [UINT, UINT]
|
298
|
+
OBSOLETE Screen.list_modes
|
299
|
+
|
300
|
+
PROTO
|
301
|
+
list_modes(flags)
|
302
|
+
listModes(flags)
|
303
|
+
|
304
|
+
%%
|
305
|
+
NAME list_modes
|
306
|
+
MOD Screen
|
307
|
+
TYPE .
|
308
|
+
PURPOSE Ϳ����줿�ե����ޥåȤȥӥǥ��Υե饰���Ф������Ѳ�ǽ�ʲ��̥⡼�ɤ�������֤��ޤ���
|
309
|
+
RVAL nil/true/Array of [UINT, UINT]
|
257
310
|
|
258
311
|
PROTO
|
259
312
|
list_modes(flags)
|
@@ -263,7 +316,7 @@ DESC
|
|
263
316
|
Ϳ����줿�ӥǥ��Υե饰���Ф���
|
264
317
|
���Ѳ�ǽ�ʲ��̥⡼�ɤ�������֤��ޤ���
|
265
318
|
|
266
|
-
�ե饰��@[
|
319
|
+
�ե饰��@[Screen.open]
|
267
320
|
�ǻȤ����Τ�Ʊ���Ǥ��ꡢ�⡼�ɤ�ͭ�����ɤ�������ꤹ��ݤ�
|
268
321
|
��������̤����ޤ���
|
269
322
|
SDL::HWSURFACE��ե饰�Ȥ����Ϥ��ȡ�
|
@@ -280,7 +333,7 @@ true
|
|
280
333
|
|
281
334
|
EXAMPLE
|
282
335
|
# ���Ѳ�ǽ�ʥե륹�����ϡ��ɥ������⡼�ɤ��������
|
283
|
-
modes = SDL.list_modes(SDL::FULLSCREEN|SDL::HWSURFACE)
|
336
|
+
modes = SDL::Screen.list_modes(SDL::FULLSCREEN|SDL::HWSURFACE)
|
284
337
|
|
285
338
|
# ���Ѳ�ǽ�ʥ⡼�ɤ����뤫�ɤ��������å�
|
286
339
|
if modes == nil
|
@@ -298,57 +351,80 @@ else
|
|
298
351
|
end
|
299
352
|
|
300
353
|
SEEALSO
|
301
|
-
|
302
|
-
|
354
|
+
Screen.open
|
355
|
+
Screen.info
|
303
356
|
|
304
357
|
%%
|
305
358
|
NAME check_video_mode
|
306
359
|
TYPE .
|
307
360
|
PURPOSE ��������Υӥǥ��⡼�ɤ����ݡ��Ȥ���Ƥ��뤫�����å����ޤ���
|
308
361
|
RVAL Integer
|
362
|
+
OBSOLETE Screen.check_mode
|
309
363
|
|
310
364
|
PROTO
|
311
365
|
check_video_mode(w,h,bpp,flags)
|
312
366
|
checkVideoMode(w,h,bpp,flags)
|
313
367
|
|
368
|
+
%%
|
369
|
+
NAME check_mode
|
370
|
+
MOD Screen
|
371
|
+
TYPE .
|
372
|
+
PURPOSE ��������Υӥǥ��⡼�ɤ����ݡ��Ȥ���Ƥ��뤫�����å����ޤ���
|
373
|
+
RVAL Integer
|
374
|
+
|
375
|
+
PROTO
|
376
|
+
check_mode(w,h,bpp,flags)
|
377
|
+
checkMode(w,h,bpp,flags)
|
378
|
+
|
314
379
|
DESC
|
315
380
|
�ᤵ�줿�⡼�ɤ��ɤΥԥ����뿼�٤ˤ����Ƥ⥵�ݡ��Ȥ���Ƥ��ʤ�����
|
316
381
|
0���֤���
|
317
382
|
���뤤��Ϳ����줿�������⤵��
|
318
|
-
�ᤵ�줿@[�����ե���|Surface] �ե饰(@[
|
383
|
+
�ᤵ�줿@[�����ե���|Surface] �ե饰(@[Screen.open]�Ʋ�����)
|
319
384
|
�ˤ��������Ѳ�ǽ�ʺǤ�ᤤ�ԥ����뿼�٤��֤��ޤ���
|
320
385
|
|
321
386
|
�ԥ����뿼�٤��ͤϿ侩�����⡼�ɤ˲�ޤ���
|
322
|
-
�ӥǥ��⡼�ɤ�@[����|
|
387
|
+
�ӥǥ��⡼�ɤ�@[����|Screen.open]����
|
323
388
|
���̤ˤ��ʤ���˾��ԥ����뿼�٤��᤹�뤳�Ȥ��Ǥ���
|
324
389
|
SDL �ϥ���ɥ��ӥǥ������ե�����ȤäƤ��Υԥ����뿼�٤�
|
325
390
|
���ߥ�졼�Ȥ���Ǥ��礦��
|
326
391
|
|
327
392
|
EXAMPLE
|
328
393
|
puts "640x480@16bpp �Υ⡼�ɤ�����å����Ƥ��ޤ���"
|
329
|
-
bpp = SDL.
|
394
|
+
bpp = SDL::Screen.check_mode(640, 480, 16, SDL::HWSURFACE)
|
330
395
|
if bpp == 0
|
331
396
|
puts "���Ѳ�ǽ�ʥ⡼�ɤǤϤ���ޤ���"
|
332
397
|
exit 1
|
333
398
|
end
|
334
399
|
|
335
400
|
puts "SDL �� 640x480@#{bpp}bpp ��侩���ޤ���"
|
336
|
-
screen = SDL.
|
401
|
+
screen = SDL::Screen.open(640, 480, bpp, SDL_HWSURFACE)
|
337
402
|
|
338
403
|
SEEALSO
|
339
|
-
|
340
|
-
|
404
|
+
Screen.open
|
405
|
+
Screen.info
|
341
406
|
|
342
407
|
%%
|
343
408
|
NAME set_video_mode
|
344
409
|
TYPE .
|
345
410
|
PURPOSE ���ꤵ�줿�������⤵���ԥ����뿼�٤��Ѥ��ƥӥǥ��⡼�ɤ����ꤷ�ޤ���
|
346
411
|
RVAL Screen
|
412
|
+
OBSOLETE Screen.open
|
347
413
|
|
348
414
|
PROTO
|
349
415
|
setVideoMode(w,h,bpp,flags)
|
350
416
|
set_video_mode(w,h,bpp,flags)
|
351
417
|
|
418
|
+
%%
|
419
|
+
NAME open
|
420
|
+
MOD Screen
|
421
|
+
TYPE .
|
422
|
+
PURPOSE ���ꤵ�줿�������⤵���ԥ����뿼�٤��Ѥ��ƥӥǥ��⡼�ɤ����ꤷ�ޤ���
|
423
|
+
RVAL Screen
|
424
|
+
|
425
|
+
PROTO
|
426
|
+
open(w,h,bpp,flags)
|
427
|
+
|
352
428
|
DESC
|
353
429
|
���ꤵ�줿�����⤵���ԥ����뿼��(1�ԥ�����Υӥåȿ�)���Ѥ���
|
354
430
|
�ӥǥ��⡼�ɤ����ꤷ�ޤ���
|
@@ -390,7 +466,7 @@ $[flags]
|
|
390
466
|
���ʳ������٤ι⤤�⡼�ɤ��Ȥ�졢�����طʤ������ɽ��������ɥ����֤���ޤ���
|
391
467
|
:SDL::OPENGL
|
392
468
|
OpenGL �����襳��ƥ����Ȥ�������ޤ���
|
393
|
-
����ä�@[
|
469
|
+
����ä�@[GL.set_attr]�ˤ�ä� OpenGL �Υӥǥ�°����
|
394
470
|
���ꤷ�Ƥ���ɬ�פ�����ޤ���
|
395
471
|
:SDL::OPENGLBLIT
|
396
472
|
���Ʊ�ͤ� OpenGL �����襳��ƥ����Ȥ�������ޤ�����
|
@@ -404,8 +480,8 @@ $[flags]
|
|
404
480
|
:SDL::RESIZABLE
|
405
481
|
�ꥵ������ǽ�ʥ�����ɥ���������ޤ���
|
406
482
|
�桼�����μ�ǥ�����ɥ����ꥵ�������줿���ϡ�
|
407
|
-
@[
|
408
|
-
�������������� @[
|
483
|
+
@[Event::VideoResize]���٥�Ȥ�ȯ������
|
484
|
+
�������������� @[Screen.open]�����ٸƤФ�뤳�Ȥ�����ޤ���
|
409
485
|
:SDL::NOFRAME
|
410
486
|
�⤷��ǽ�Ǥ���С�
|
411
487
|
SDL �������ȥ�С��ʤ������뤤�ϥե졼��ˤ�������ʤ���
|
@@ -413,7 +489,7 @@ $[flags]
|
|
413
489
|
�ե륹�����⡼�ɤξ�缫ưŪ�ˤ��Υե饰�����ꤷ�ޤ���
|
414
490
|
|
415
491
|
NOTES
|
416
|
-
|
492
|
+
���Υ�åɤ��ɤ�$[flags]������������Ȥ��Ǥ������ϡ�
|
417
493
|
�֤��ͤΥ����ե�����@[Surface#flags]�˥��åȤ���Ƥ��ޤ���
|
418
494
|
|
419
495
|
$[bpp] �ѥ����ϥԥ����뤴�ȤΥӥåȿ��Ǥ���
|
@@ -434,19 +510,6 @@ Surface#set_colors
|
|
434
510
|
Screen#flip
|
435
511
|
Screen
|
436
512
|
|
437
|
-
%%
|
438
|
-
NAME open
|
439
|
-
MOD Screen
|
440
|
-
TYPE .
|
441
|
-
PURPOSE ���ꤵ�줿�������⤵���ԥ����뿼�٤��Ѥ��ƥӥǥ��⡼�ɤ����ꤷ�ޤ���
|
442
|
-
RVAL Screen
|
443
|
-
|
444
|
-
PROTO
|
445
|
-
open(w,h,bpp,flags)
|
446
|
-
|
447
|
-
DESC
|
448
|
-
@[set_video_mode] ����̾�Ǥ���
|
449
|
-
|
450
513
|
%%
|
451
514
|
NAME update_rect
|
452
515
|
MOD Screen
|
@@ -464,7 +527,7 @@ DESC
|
|
464
527
|
|
465
528
|
$[x]��$[y]��$[w]��$[h]�����٤� 0 �ʤ�С��������Τ����ޤ���
|
466
529
|
|
467
|
-
|
530
|
+
���Υ�åɤ�$[self]��@[���å�|Surface#lock]����Ƥ���֤ϸƤ�Ǥ�
|
468
531
|
�����ޤ���
|
469
532
|
|
470
533
|
SEEALSO
|
@@ -487,7 +550,7 @@ DESC
|
|
487
550
|
����ϲ��̤ζ�����μ��ޤäƤ��ʤ���Фʤ�ޤ���
|
488
551
|
(�Ĥޤꥯ��åԥϤ���ޤ���)
|
489
552
|
|
490
|
-
|
553
|
+
���Υ�åɤ�$[self]��@[���å�|Surface#lock]����Ƥ���֤ϸƤ�Ǥ�
|
491
554
|
�����ޤ���
|
492
555
|
|
493
556
|
SEEALSO
|
@@ -515,7 +578,7 @@ $[self].update_rect(0, 0, 0, 0)
|
|
515
578
|
EXCEPTION *
|
516
579
|
|
517
580
|
SEEALSO
|
518
|
-
|
581
|
+
Screen.open
|
519
582
|
Screen#update_rect
|
520
583
|
|
521
584
|
%%
|
@@ -531,7 +594,7 @@ setColors(colors,firstcolor)
|
|
531
594
|
|
532
595
|
DESC
|
533
596
|
$[self] �����ߤ�ɽ���ȴ�Ϣ�դ���줿�����ե����ξ��ϡ�
|
534
|
-
ɽ�����顼�ޥåפ��ᤵ�줿���ǹ�������ޤ���@[
|
597
|
+
ɽ�����顼�ޥåפ��ᤵ�줿���ǹ�������ޤ���@[Screen.open] �ե饰��
|
535
598
|
SDL::HWPALETTE �����åȤ���Ƥ������ϡ�
|
536
599
|
SDL::Surface#set_colors �Ͼ��true���֤���
|
537
600
|
������ɥ��Υ��顼�ޥåפ��Ĥ���Ƥ����ꡢ
|
@@ -553,7 +616,7 @@ $[flags]
|
|
553
616
|
|
554
617
|
RET
|
555
618
|
$[self] ���ѥ�åȲ����줿�����ե����ǤϤʤ����ϡ�
|
556
|
-
|
619
|
+
���Υ�åɤϲ��⤻����false ���֤��ޤ���
|
557
620
|
���Ƥο������Υ�åɤ�
|
558
621
|
�Ϥ����̤�˥��åȤ��줿���ϡ�true ���֤��ޤ���
|
559
622
|
ɬ���������Ƥο�����ȥ꤬Ϳ����줿�̤�˥��åȤ��줿���ǤϤʤ����ϡ�
|
@@ -566,14 +629,14 @@ EXAMPLE
|
|
566
629
|
# �����������
|
567
630
|
colors = Array.new(256){|i| [i, i, i]}
|
568
631
|
# ɽ�������ե��������
|
569
|
-
screen = SDL.
|
632
|
+
screen = SDL::Screen.open(640, 480, 8, SDL::HWPALETTE)
|
570
633
|
|
571
634
|
# �ѥ�åȤΥ��å�
|
572
635
|
screen.set_colors(colors, 0)
|
573
636
|
|
574
637
|
SEEALSO
|
575
638
|
Surface#set_palette
|
576
|
-
|
639
|
+
Screen#open
|
577
640
|
|
578
641
|
%%
|
579
642
|
NAME set_palette
|
@@ -596,21 +659,21 @@ SDL::HWPALETTE
|
|
596
659
|
�ޥåԥ��������ѥ�åȤȡ�
|
597
660
|
�ϡ��ɥ�������������̤˥ޥåԥ�����ˡ����ꤹ��
|
598
661
|
ʪ���ѥ�åȤǤ���
|
599
|
-
@[
|
662
|
+
@[Surface.blit] ��
|
600
663
|
�����ե����Υԥ�����ե����ޥåȴ֤��Ѵ���ɬ�פʾ�硢
|
601
664
|
�����ե����� blit ž������ݤ˾�������ѥ�åȤ�Ȥ��ޤ���
|
602
665
|
���Τ��ᡢ���ޤ��ޤ��ü쿧����
|
603
666
|
(���̤Υե����ɡ����顼�ե�å��塦���̤β��)�����뤿���
|
604
667
|
�ѥ�åȤ����������ѹ����뤳�ȤϤ��Ф���ͭ�ѤǤ���
|
605
668
|
|
606
|
-
|
669
|
+
���Υ�åɤ�
|
607
670
|
SDL::LOGPAL �� SDL::PHYSPAL ��
|
608
671
|
$[flags] �˻��ꤹ�뤳�Ȥǡ�
|
609
672
|
�����ޤ���ʪ���ѥ�åȤΤ����줫���ѹ����뤳�Ȥ��Ǥ��ޤ���
|
610
673
|
$[self]�����ߤ�ɽ����
|
611
674
|
��Ϣ�դ����Ƥ��륵���ե����ΤȤ��ϡ�
|
612
675
|
ɽ���Υ��顼�ޥåפ��ᤵ�줿���ǹ�������ޤ���
|
613
|
-
@[
|
676
|
+
@[Screen.open] ��
|
614
677
|
SDL::HWPALETTE �����åȤ���Ƥ������ϡ�
|
615
678
|
���Υ�åɤϾ�� true ���֤���
|
616
679
|
������ɥ��Υ��顼�ޥåפ��Ĥ���ʤ���Фʤ�ʤ����䡢
|
@@ -623,7 +686,7 @@ R
|
|
623
686
|
|
624
687
|
RET
|
625
688
|
$[self]���ѥ�åȲ����줿�����ե����Ǥʤ����ϡ�
|
626
|
-
|
689
|
+
���Υ�åɤ� false ���֤��Ʋ��⤷�ޤ���
|
627
690
|
���Ƥο������Υ�åɤ��Ϥ��줿�̤�˥��åȤ����ȡ�
|
628
691
|
true ���֤��ޤ���
|
629
692
|
ɬ���������Ƥο�����ȥ꤬Ϳ����줿�̤�˥��åȤ��줿���ǤϤʤ����ϡ�
|
@@ -636,17 +699,28 @@ EXAMPLE
|
|
636
699
|
# �����������
|
637
700
|
colors = Array.new(256){|i| [i, i, i]}
|
638
701
|
# ɽ�������ե��������
|
639
|
-
screen = SDL.
|
702
|
+
screen = SDL::Screen.open(640, 480, 8, SDL::HWPALETTE)
|
640
703
|
|
641
704
|
# �ѥ�åȤΥ��å�
|
642
705
|
screen.set_palette(SDL::LOGPAL|SDL::PHYSPAL, colors, 0)
|
643
706
|
|
644
707
|
SEEALSO
|
645
708
|
Surface#set_colors
|
646
|
-
|
709
|
+
Screen.open
|
710
|
+
|
711
|
+
%%
|
712
|
+
NAME set_gamma
|
713
|
+
TYPE .
|
714
|
+
PURPOSE ɽ���ѤΥ��顼����ؿ��åȤ��ޤ���
|
715
|
+
OBSOLETE Screen.set_gamma
|
716
|
+
|
717
|
+
PROTO
|
718
|
+
set_gamma(redgamma,greengamma,bluegamma)
|
719
|
+
setGamma(redgamma,greengamma,bluegamma)
|
647
720
|
|
648
721
|
%%
|
649
722
|
NAME set_gamma
|
723
|
+
MOD Screen
|
650
724
|
TYPE .
|
651
725
|
PURPOSE ɽ���ѤΥ��顼����ؿ��åȤ��ޤ���
|
652
726
|
|
@@ -661,7 +735,7 @@ DESC
|
|
661
735
|
(�Ĥޤꡢ����Ĵ����Ԥ��ޤ���)
|
662
736
|
|
663
737
|
���δؿ��ϡ֥���ؿ��פΥѥ����˴𤤤ƥ���ޤ�Ĵ�����ޤ���
|
664
|
-
@[set_gamma_ramp] ��Ȥ��ȡ�
|
738
|
+
@[Screen.set_gamma_ramp] ��Ȥ��ȡ�
|
665
739
|
�����Ĵ���λ��ȥơ��֥��ľ�ܻ��ꤹ�뤳�Ȥ��Ǥ��ޤ���
|
666
740
|
|
667
741
|
EXCEPTION *
|
@@ -669,11 +743,23 @@ NOTES
|
|
669
743
|
���Ƥ�ɽ���ϡ��ɥ�����������ޤ��ѹ����뤳�Ȥ��Ǥ���櫓�ǤϤ���ޤ���
|
670
744
|
|
671
745
|
SEEALSO
|
746
|
+
Screen.get_gamma_ramp
|
747
|
+
Screen.set_gamma_ramp
|
748
|
+
|
749
|
+
%%
|
750
|
+
NAME get_gamma_ramp
|
751
|
+
TYPE .
|
752
|
+
PURPOSE ɽ���Τ���Υ��顼������ͤ��Ѵ��ơ��֥��������ޤ���
|
753
|
+
RVAL Array of UINT
|
754
|
+
OBSOLETE Screen.get_gamma_ramp
|
755
|
+
|
756
|
+
PROTO
|
672
757
|
get_gamma_ramp
|
673
|
-
|
758
|
+
getGammaRamp
|
674
759
|
|
675
760
|
%%
|
676
761
|
NAME get_gamma_ramp
|
762
|
+
MOD Screen
|
677
763
|
TYPE .
|
678
764
|
PURPOSE ɽ���Τ���Υ��顼������ͤ��Ѵ��ơ��֥��������ޤ���
|
679
765
|
RVAL Array of UINT
|
@@ -695,11 +781,21 @@ NOTES
|
|
695
781
|
EXCEPTION *
|
696
782
|
|
697
783
|
SEEALSO
|
698
|
-
set_gamma
|
699
|
-
set_gamma_ramp
|
784
|
+
Screen.set_gamma
|
785
|
+
Screen.set_gamma_ramp
|
786
|
+
|
787
|
+
%%
|
788
|
+
NAME set_gamma_ramp
|
789
|
+
TYPE .
|
790
|
+
PURPOSE ɽ���Ѥ˥��顼����ޤλ��ȥơ��֥�åȤ��ޤ���
|
791
|
+
OBSOLETE Screen.set_gamma_ramp
|
792
|
+
PROTO
|
793
|
+
set_gamma_ramp(table)
|
794
|
+
setGammaRamp(table)
|
700
795
|
|
701
796
|
%%
|
702
797
|
NAME set_gamma_ramp
|
798
|
+
MOD Screen
|
703
799
|
TYPE .
|
704
800
|
PURPOSE ɽ���Ѥ˥��顼����ޤλ��ȥơ��֥�åȤ��ޤ���
|
705
801
|
|
@@ -709,20 +805,20 @@ setGammaRamp(table)
|
|
709
805
|
|
710
806
|
DESC
|
711
807
|
�ƿ������ͥ�ˤĤ��ơ�ɽ���ѤΥ�����ȥơ��֥�åȤ��ޤ���
|
712
|
-
���� $[tables] �� @[get_gamma_ramp] ��Ʊ���ե����ޥåȤǡ�
|
808
|
+
���� $[tables] �� @[Screen.get_gamma_ramp] ��Ʊ���ե����ޥåȤǡ�
|
713
809
|
�б���������ͥ�����ϤȽ��ϴ֤μ�����ɽ�����ޤ���
|
714
810
|
���Ϥ�������Ф��륤��ǥå����Ǥ��ꡢ���ϤϤ��Υ���ǥå����ˤ�����
|
715
811
|
16 �ӥåȤΥ�����ͤǡ����Ϥο����٤˹�碌�ƥ����������ޤ���
|
716
812
|
|
717
813
|
���δؿ��ϻ��ȥơ��֥�˴𤤤ƥ���ޤ�Ĵ�����ޤ�����
|
718
|
-
@[set_gamma] ���Ѥ���
|
814
|
+
@[Screen.set_gamma] ���Ѥ���
|
719
815
|
�֥���ؿ��ץѥ����˴𤤤Ʒ����줿����ޤ���Ĥ��Ȥ��Ǥ��ޤ���
|
720
816
|
|
721
817
|
EXCEPTION *
|
722
818
|
|
723
819
|
SEEALSO
|
724
|
-
set_gamma
|
725
|
-
get_gamma_ramp
|
820
|
+
Screen.set_gamma
|
821
|
+
Screen.get_gamma_ramp
|
726
822
|
|
727
823
|
%%
|
728
824
|
NAME map_rgb
|
@@ -730,6 +826,18 @@ MOD Surface
|
|
730
826
|
TYPE #
|
731
827
|
PURPOSE RGB ���顼�ͤ�ԥ�����ե����ޥåȤ˼������ޤ���
|
732
828
|
RVAL UINT
|
829
|
+
OBSOLETE PixelFormat#map_rgb
|
830
|
+
|
831
|
+
PROTO
|
832
|
+
map_rgb(r,g,b)
|
833
|
+
mapRGB(r,g,b)
|
834
|
+
|
835
|
+
%%
|
836
|
+
NAME map_rgb
|
837
|
+
MOD PixelFormat
|
838
|
+
TYPE #
|
839
|
+
PURPOSE RGB ���顼�ͤ�ԥ�����ե����ޥåȤ˼������ޤ���
|
840
|
+
RVAL UINT
|
733
841
|
|
734
842
|
PROTO
|
735
843
|
map_rgb(r,g,b)
|
@@ -755,9 +863,9 @@ RET
|
|
755
863
|
8bpp �Ǥ� 2**8 ��꾮����)
|
756
864
|
|
757
865
|
SEEALSO
|
758
|
-
|
759
|
-
|
760
|
-
|
866
|
+
PixelFormat#get_rgb
|
867
|
+
PixelFormat#get_rgba
|
868
|
+
PixelFormat#map_rgba
|
761
869
|
((<�����ԥ�����ե����ޥåȡ��ԥ������ͤˤĤ���>))
|
762
870
|
|
763
871
|
%%
|
@@ -766,6 +874,18 @@ MOD Surface
|
|
766
874
|
TYPE #
|
767
875
|
PURPOSE RGBA ���顼�ͤ�ԥ�����ե����ޥåȤ˼������ޤ���
|
768
876
|
RVAL UINT
|
877
|
+
OBSOLETE PixelFormat#map_rgba
|
878
|
+
|
879
|
+
PROTO
|
880
|
+
map_rgba(r,g,b,a)
|
881
|
+
mapRGBA(r,g,b,a)
|
882
|
+
|
883
|
+
%%
|
884
|
+
NAME map_rgba
|
885
|
+
MOD PixelFormat
|
886
|
+
TYPE #
|
887
|
+
PURPOSE RGBA ���顼�ͤ�ԥ�����ե����ޥåȤ˼������ޤ���
|
888
|
+
RVAL UINT
|
769
889
|
|
770
890
|
PROTO
|
771
891
|
map_rgba(r,g,b,a)
|
@@ -792,9 +912,9 @@ RET
|
|
792
912
|
8bpp �Ǥ� 2**8 ��꾮����)
|
793
913
|
|
794
914
|
SEEALSO
|
795
|
-
|
796
|
-
|
797
|
-
|
915
|
+
PixelFormat#get_rgb
|
916
|
+
PixelFormat#get_rgba
|
917
|
+
PixelFormat#map_rgb
|
798
918
|
((<�����ԥ�����ե����ޥåȡ��ԥ������ͤˤĤ���>))
|
799
919
|
|
800
920
|
%%
|
@@ -803,6 +923,18 @@ MOD Surface
|
|
803
923
|
TYPE #
|
804
924
|
PURPOSE ���ꤵ�줿�ԥ�����ե����ޥå���Υԥ����뤫�� RGB �ͤ�������ޤ���
|
805
925
|
RVAL [UINT, UINT, UINT]
|
926
|
+
OBSOLETE PixelFormat#get_rgb
|
927
|
+
PROTO
|
928
|
+
get_rgb(pixel)
|
929
|
+
getRGB(pixel)
|
930
|
+
|
931
|
+
%%
|
932
|
+
NAME get_rgb
|
933
|
+
MOD PixelFormat
|
934
|
+
TYPE #
|
935
|
+
PURPOSE ���ꤵ�줿�ԥ�����ե����ޥå���Υԥ����뤫�� RGB �ͤ�������ޤ���
|
936
|
+
RVAL [UINT, UINT, UINT]
|
937
|
+
|
806
938
|
PROTO
|
807
939
|
get_rgb(pixel)
|
808
940
|
getRGB(pixel)
|
@@ -818,9 +950,9 @@ RGB
|
|
818
950
|
[0xf8, 0xfc, 0xf8] �ǤϤʤ� [0xff, 0xff, 0xff] ���֤��ޤ�)
|
819
951
|
|
820
952
|
SEEALSO
|
821
|
-
|
822
|
-
|
823
|
-
|
953
|
+
PixelFormat#get_rgba
|
954
|
+
PixelFormat#map_rgb
|
955
|
+
PixelFormat#map_rgba
|
824
956
|
((<�����ԥ�����ե����ޥåȡ��ԥ������ͤˤĤ���>))
|
825
957
|
|
826
958
|
%%
|
@@ -829,6 +961,18 @@ MOD Surface
|
|
829
961
|
TYPE #
|
830
962
|
PURPOSE ���ꤵ�줿�ԥ�����ե����ޥå���Υԥ����뤫�� RGBA �ͤ�������ޤ���
|
831
963
|
RVAL [UINT, UINT, UINT, UINT]
|
964
|
+
OBSOLETE PixelFormat#get_rgba
|
965
|
+
|
966
|
+
PROTO
|
967
|
+
get_rgba(pixel)
|
968
|
+
getRGBA(pixel)
|
969
|
+
|
970
|
+
%%
|
971
|
+
NAME get_rgba
|
972
|
+
MOD PixelFormat
|
973
|
+
TYPE #
|
974
|
+
PURPOSE ���ꤵ�줿�ԥ�����ե����ޥå���Υԥ����뤫�� RGBA �ͤ�������ޤ���
|
975
|
+
RVAL [UINT, UINT, UINT, UINT]
|
832
976
|
|
833
977
|
PROTO
|
834
978
|
get_rgba(pixel)
|
@@ -846,9 +990,9 @@ RGB
|
|
846
990
|
�����ե����˦������ͥ뤬�ʤ����ϡ����ˤ� 0xff (100% ��Ʃ��) ���֤���ޤ���
|
847
991
|
|
848
992
|
SEEALSO
|
849
|
-
|
850
|
-
|
851
|
-
|
993
|
+
PixelFormat#get_rgba
|
994
|
+
PixelFormat#map_rgb
|
995
|
+
PixelFormat#map_rgba
|
852
996
|
((<�����ԥ�����ե����ޥåȡ��ԥ������ͤˤĤ���>))
|
853
997
|
|
854
998
|
%%
|
@@ -860,11 +1004,11 @@ RVAL Surface
|
|
860
1004
|
|
861
1005
|
PROTO
|
862
1006
|
new(flags,w,h,depth,Rmask,Gmask,Bmask,Amask)
|
863
|
-
new(flags,w,h,
|
1007
|
+
new(flags,w,h,format)
|
864
1008
|
|
865
1009
|
DESC
|
866
1010
|
�礭���� $[w] x $[h] �ζ��Υ����ե�������ݤ��ޤ���
|
867
|
-
(@[
|
1011
|
+
(@[Screen.open]�θ�ǸƤФ�ʤ���Ф����ޤ���)
|
868
1012
|
|
869
1013
|
$[depth] �� 8 �ӥåȤξ��ϡ�
|
870
1014
|
�����ե����˶��Υѥ�åȤ����ݤ���ޤ���
|
@@ -897,7 +1041,7 @@ $[flags]
|
|
897
1041
|
�����ե����Ϥʤ�����ӥǥ�������֤���ޤ���
|
898
1042
|
�����ե������ä���ˤ��Υե饰�åȡ��ꥻ�åȤ���������
|
899
1043
|
@[Surface#set_alpha]��ȤäƲ�������
|
900
|
-
�ޤ���depth,Rmask,Gmask,Bmask,Amask������� @[
|
1044
|
+
�ޤ���depth,Rmask,Gmask,Bmask,Amask������� @[PixelFormat] �Υ�����
|
901
1045
|
���Ϥ��Ȥ������ͤ�Ϳ����������Ʊ���ˤʤ�ޤ���
|
902
1046
|
|
903
1047
|
RET
|
@@ -936,7 +1080,7 @@ surface = SDL::Surface.new(SDL::SWSURFACE, width, height, 32,
|
|
936
1080
|
|
937
1081
|
SEEALSO
|
938
1082
|
Surface.new_from
|
939
|
-
|
1083
|
+
Screen.oepn
|
940
1084
|
Surface#lock
|
941
1085
|
Surface#set_alpha
|
942
1086
|
Surface#set_color_key
|
@@ -1159,17 +1303,17 @@ $[flag]
|
|
1159
1303
|
|
1160
1304
|
$[flag] �� SDL::RLEACCEL ��
|
1161
1305
|
���åȤ���Ƥ�����ϡ�
|
1162
|
-
@[
|
1306
|
+
@[Surface.blit] �����������ˡ�
|
1163
1307
|
�����ե����� RLE ��������졼������Ȥä������ޤ���
|
1164
1308
|
�ǽ�˥����ե������Ф���
|
1165
|
-
@[
|
1309
|
+
@[Surface.blit] �� @[Surface#display_format] ��
|
1166
1310
|
�ƤФ줿���ˡ��ºݤ� RLE ��������졼�����Τ��ᥨ���ɤ���ޤ���
|
1167
1311
|
|
1168
|
-
flag �� 0
|
1312
|
+
flag �� 0 �ʤ�С����Υ�åɤϸ��ߤΥ��顼�����ꥢ���ޤ���
|
1169
1313
|
|
1170
1314
|
EXCEPTION *
|
1171
1315
|
SEEALSO
|
1172
|
-
|
1316
|
+
Surface.blit
|
1173
1317
|
Surface#display_format
|
1174
1318
|
Surface#map_rgb
|
1175
1319
|
Surface#set_alpha
|
@@ -1266,7 +1410,7 @@ SEEALSO
|
|
1266
1410
|
Surface#map_rgba
|
1267
1411
|
Surface#get_rgba
|
1268
1412
|
Surface#display_format
|
1269
|
-
|
1413
|
+
Surface.blit
|
1270
1414
|
Surface#alpha
|
1271
1415
|
|
1272
1416
|
%%
|
@@ -1289,7 +1433,7 @@ DESC
|
|
1289
1433
|
|
1290
1434
|
SEEALSO
|
1291
1435
|
Surface#get_clip_rect
|
1292
|
-
|
1436
|
+
Surface.blit
|
1293
1437
|
|
1294
1438
|
%%
|
1295
1439
|
NAME get_clip_rect
|
@@ -1312,25 +1456,37 @@ RET
|
|
1312
1456
|
|
1313
1457
|
SEEALSO
|
1314
1458
|
Surface#set_clip_rect
|
1315
|
-
|
1459
|
+
Surface.blit
|
1316
1460
|
|
1317
1461
|
%%
|
1318
1462
|
NAME blit_surface
|
1319
1463
|
TYPE .
|
1320
1464
|
PURPOSE ž���������ե�������ž���襵���ե����ع�® blit ž����Ԥ��ޤ���
|
1321
1465
|
RVAL 0/-2
|
1466
|
+
OBSOLETE Surface.blit
|
1322
1467
|
|
1323
1468
|
PROTO
|
1324
1469
|
blit_surface(src,srcX,srcY,srcW,srcH,dst,dstX,dstY)
|
1325
1470
|
blitSurface(src,srcX,srcY,srcW,srcH,dst,dstX,dstY)
|
1326
1471
|
|
1472
|
+
|
1473
|
+
%%
|
1474
|
+
NAME blit
|
1475
|
+
MOD Surface
|
1476
|
+
TYPE .
|
1477
|
+
PURPOSE ž���������ե�������ž���襵���ե����ع�® blit ž����Ԥ��ޤ���
|
1478
|
+
RVAL 0/-2
|
1479
|
+
|
1480
|
+
PROTO
|
1481
|
+
blit(src,srcX,srcY,srcW,srcH,dst,dstX,dstY)
|
1482
|
+
|
1327
1483
|
DESC
|
1328
1484
|
ž���������ե�������ž���襵���ե����ع�® blit ž����Ԥ��ޤ�
|
1329
1485
|
$[src]��ž������$[dst]��ž����Υ����ե����Ȥʤ�ޤ���
|
1330
1486
|
$[srcX]��$[srcY]��$[srcW]��$[srcH]�����٤�0�ξ���$[src]
|
1331
1487
|
���Τ����ԡ�����ޤ���
|
1332
1488
|
|
1333
|
-
blit
|
1489
|
+
blit �ϥ��å����줿�����ե�����ǸƤФ��٤��ǤϤ���ޤ���
|
1334
1490
|
|
1335
1491
|
blit ���η�̤�
|
1336
1492
|
SDL::SRCAPLHA �����åȤ���Ƥ��뤫�ݤ��ˤ�ä�
|
@@ -1364,19 +1520,6 @@ RET
|
|
1364
1520
|
���ʤ����ӥǥ�����˺��٥�����������ޤǤ�
|
1365
1521
|
�����ե����Υ��å��⼺�Ԥ���Ǥ��礦��
|
1366
1522
|
|
1367
|
-
%%
|
1368
|
-
NAME blit
|
1369
|
-
MOD Surface
|
1370
|
-
TYPE .
|
1371
|
-
PURPOSE ž���������ե�������ž���襵���ե����ع�® blit ž����Ԥ��ޤ���
|
1372
|
-
RVAL 0/-2
|
1373
|
-
|
1374
|
-
PROTO
|
1375
|
-
blit(src,srcX,srcY,srcW,srcH,dst,dstX,dstY)
|
1376
|
-
|
1377
|
-
DESC
|
1378
|
-
@[blit_surface] ����̾�Ǥ���
|
1379
|
-
|
1380
1523
|
%%
|
1381
1524
|
NAME fill_rect
|
1382
1525
|
MOD Surface
|
@@ -1396,14 +1539,14 @@ $[color]
|
|
1396
1539
|
�����ͤ����ͤ�ޤ�Ǥ�����ϡ��ɤ��٤����ñ�ˤ��Φ�����ǡ��ɤ��٤���ס�
|
1397
1540
|
�֥��ǥ��ϵ�����ޤ���
|
1398
1541
|
�ɤ��٤���˥���åԥ����������(@[Surface#set_clip_rect]��
|
1399
|
-
��äƥ��åȤ���ޤ�)
|
1542
|
+
��äƥ��åȤ���ޤ�)�ϡ����Υ�åɤϥ���åԥ���� ���ꤷ�������
|
1400
1543
|
�Ťʤä��ΰ�ǥ���åԥ���ޤ���
|
1401
1544
|
|
1402
1545
|
EXCEPTION *
|
1403
1546
|
SEEALSO
|
1404
1547
|
Surface#map_rgb
|
1405
1548
|
Surface#map_rgba
|
1406
|
-
|
1549
|
+
Surface.blit
|
1407
1550
|
|
1408
1551
|
%%
|
1409
1552
|
NAME display_format
|
@@ -1457,7 +1600,7 @@ DESC
|
|
1457
1600
|
���Υ�åɤ�Ƥ����˥��顼�����Ȧ��ͤåȤ��Ƥ����٤��Ǥ���
|
1458
1601
|
|
1459
1602
|
$[self]�� SDL::SRCCOLORKEY �ե饰�����åȤ���Ƥ���
|
1460
|
-
|
1603
|
+
���ϡ����Υ�åɤϥ��顼������������ͥ���Ѵ����뤳�Ȥ˻Ȥ����Ȥ�
|
1461
1604
|
�Ǥ��ޤ���
|
1462
1605
|
���������������줿�����ե����ϡ�
|
1463
1606
|
���顼�����˰��פ���ԥ�����Ǥ�Ʃ��(��=0)�ˡ�
|
@@ -1525,6 +1668,20 @@ SEEALSO
|
|
1525
1668
|
Surface
|
1526
1669
|
Screen
|
1527
1670
|
|
1671
|
+
%%
|
1672
|
+
NAME format
|
1673
|
+
MOD Surface
|
1674
|
+
TYPE #
|
1675
|
+
PURPOSE �����ե����Υԥ�����ե����ޥå�
|
1676
|
+
RVAL PixelFormat
|
1677
|
+
|
1678
|
+
PROTO
|
1679
|
+
format
|
1680
|
+
|
1681
|
+
DESC
|
1682
|
+
�����ե����Υԥ�����ե����ޥåȤ�
|
1683
|
+
@[PixelFormat]�Υ����Ȥ����֤��ޤ���
|
1684
|
+
|
1528
1685
|
%%
|
1529
1686
|
NAME w
|
1530
1687
|
MOD Surface
|
@@ -1569,23 +1726,20 @@ pixels
|
|
1569
1726
|
|
1570
1727
|
DESC
|
1571
1728
|
�ºݤΥԥ�����ǡ�����String�Υ������֤��ޤ���
|
1572
|
-
�ԥ�����ǡ����η�����@[Surface#flags]��
|
1573
|
-
@[Surface#
|
1729
|
+
�ԥ�����ǡ����η�����@[Surface#flags]��
|
1730
|
+
@[Surface#pitch]�����@[Surface#format]�ˤ��ޤ���
|
1574
1731
|
|
1575
1732
|
NOTES
|
1576
1733
|
����˥�����������ˤ�@[���å�|Surface#lock]��ɬ�פǤ���
|
1577
1734
|
|
1578
1735
|
SEEALSO
|
1579
1736
|
Surface#flags
|
1580
|
-
Surface#
|
1581
|
-
Surface#
|
1582
|
-
Surface#Bmask
|
1583
|
-
Surface#Amask
|
1584
|
-
Surface#bpp
|
1737
|
+
Surface#pitch
|
1738
|
+
Surface#format
|
1585
1739
|
|
1586
1740
|
%%
|
1587
1741
|
NAME Rmask
|
1588
|
-
MOD
|
1742
|
+
MOD PixelFormat
|
1589
1743
|
TYPE #
|
1590
1744
|
PURPOSE �֥����ͥ���ͤ��������Τ˻Ȥ���ӥåȥޥ���
|
1591
1745
|
RVAL UINT
|
@@ -1598,7 +1752,7 @@ DESC
|
|
1598
1752
|
|
1599
1753
|
%%
|
1600
1754
|
NAME Gmask
|
1601
|
-
MOD
|
1755
|
+
MOD PixelFormat
|
1602
1756
|
TYPE #
|
1603
1757
|
PURPOSE �Х����ͥ���ͤ��������Τ˻Ȥ���ӥåȥޥ���
|
1604
1758
|
RVAL UINT
|
@@ -1611,7 +1765,7 @@ DESC
|
|
1611
1765
|
|
1612
1766
|
%%
|
1613
1767
|
NAME Bmask
|
1614
|
-
MOD
|
1768
|
+
MOD PixelFormat
|
1615
1769
|
TYPE #
|
1616
1770
|
PURPOSE �ĥ����ͥ���ͤ��������Τ˻Ȥ���ӥåȥޥ���
|
1617
1771
|
RVAL UINT
|
@@ -1624,7 +1778,7 @@ DESC
|
|
1624
1778
|
|
1625
1779
|
%%
|
1626
1780
|
NAME Amask
|
1627
|
-
MOD
|
1781
|
+
MOD PixelFormat
|
1628
1782
|
TYPE #
|
1629
1783
|
PURPOSE �������ͥ���ͤ��������Τ˻Ȥ���ӥåȥޥ���
|
1630
1784
|
RVAL UINT
|
@@ -1637,7 +1791,7 @@ DESC
|
|
1637
1791
|
|
1638
1792
|
%%
|
1639
1793
|
NAME Rloss
|
1640
|
-
MOD
|
1794
|
+
MOD PixelFormat
|
1641
1795
|
TYPE #
|
1642
1796
|
PURPOSE �֥����ͥ�Ǽ���������
|
1643
1797
|
RVAL UINT
|
@@ -1651,7 +1805,7 @@ DESC
|
|
1651
1805
|
|
1652
1806
|
%%
|
1653
1807
|
NAME Gloss
|
1654
|
-
MOD
|
1808
|
+
MOD PixelFormat
|
1655
1809
|
TYPE #
|
1656
1810
|
PURPOSE �Х����ͥ�Ǽ���������
|
1657
1811
|
RVAL UINT
|
@@ -1665,7 +1819,7 @@ DESC
|
|
1665
1819
|
|
1666
1820
|
%%
|
1667
1821
|
NAME Bloss
|
1668
|
-
MOD
|
1822
|
+
MOD PixelFormat
|
1669
1823
|
TYPE #
|
1670
1824
|
PURPOSE �ĥ����ͥ�Ǽ���������
|
1671
1825
|
RVAL UINT
|
@@ -1679,7 +1833,7 @@ DESC
|
|
1679
1833
|
|
1680
1834
|
%%
|
1681
1835
|
NAME Aloss
|
1682
|
-
MOD
|
1836
|
+
MOD PixelFormat
|
1683
1837
|
TYPE #
|
1684
1838
|
PURPOSE �������ͥ�Ǽ���������
|
1685
1839
|
RVAL UINT
|
@@ -1693,7 +1847,7 @@ DESC
|
|
1693
1847
|
|
1694
1848
|
%%
|
1695
1849
|
NAME Rshift
|
1696
|
-
MOD
|
1850
|
+
MOD PixelFormat
|
1697
1851
|
TYPE #
|
1698
1852
|
PURPOSE �ԥ������ͤ��֥����ͥ��2�ʿ��κ����եȿ�
|
1699
1853
|
RVAL UINT
|
@@ -1707,7 +1861,7 @@ DESC
|
|
1707
1861
|
|
1708
1862
|
%%
|
1709
1863
|
NAME Gshift
|
1710
|
-
MOD
|
1864
|
+
MOD PixelFormat
|
1711
1865
|
TYPE #
|
1712
1866
|
PURPOSE �ԥ������ͤ��Х����ͥ��2�ʿ��κ����եȿ�
|
1713
1867
|
RVAL UINT
|
@@ -1721,7 +1875,7 @@ DESC
|
|
1721
1875
|
|
1722
1876
|
%%
|
1723
1877
|
NAME Bshift
|
1724
|
-
MOD
|
1878
|
+
MOD PixelFormat
|
1725
1879
|
TYPE #
|
1726
1880
|
PURPOSE �ԥ������ͤ��ĥ����ͥ��2�ʿ��κ����եȿ�
|
1727
1881
|
RVAL UINT
|
@@ -1735,7 +1889,7 @@ DESC
|
|
1735
1889
|
|
1736
1890
|
%%
|
1737
1891
|
NAME Ashift
|
1738
|
-
MOD
|
1892
|
+
MOD PixelFormat
|
1739
1893
|
TYPE #
|
1740
1894
|
PURPOSE �ԥ������ͤΦ������ͥ��2�ʿ��κ����եȿ�
|
1741
1895
|
RVAL UINT
|
@@ -1782,12 +1936,59 @@ DESC
|
|
1782
1936
|
SEEALSO
|
1783
1937
|
Surface#set_alpha
|
1784
1938
|
|
1939
|
+
%%
|
1940
|
+
NAME colorkey
|
1941
|
+
MOD PixelFormat
|
1942
|
+
TYPE #
|
1943
|
+
PURPOSE Ʃ���ԥ�����Υԥ�������
|
1944
|
+
RVAL UINT
|
1945
|
+
|
1946
|
+
PROTO
|
1947
|
+
colorkey
|
1948
|
+
|
1949
|
+
DESC
|
1950
|
+
Ʃ���ԥ�����Υԥ������ͤ������������֤��ޤ���
|
1951
|
+
|
1952
|
+
SEEALSO
|
1953
|
+
Surface
|
1954
|
+
Surface#set_color_key
|
1955
|
+
((<�����ԥ�����ե����ޥåȡ��ԥ������ͤˤĤ���>))
|
1956
|
+
|
1957
|
+
%%
|
1958
|
+
NAME alpha
|
1959
|
+
MOD PixelFormat
|
1960
|
+
TYPE #
|
1961
|
+
PURPOSE �����ե������ΤΦ���
|
1962
|
+
RVAL UINT
|
1963
|
+
|
1964
|
+
PROTO
|
1965
|
+
alpha
|
1966
|
+
|
1967
|
+
DESC
|
1968
|
+
�����ե������ΤΦ��ͤ�0����255�ޤǤ��������֤��ޤ���
|
1969
|
+
0��Ʃ���ǡ�255����Ʃ���Ǥ���
|
1970
|
+
|
1971
|
+
SEEALSO
|
1972
|
+
Surface#set_alpha
|
1973
|
+
|
1974
|
+
|
1785
1975
|
%%
|
1786
1976
|
NAME bpp
|
1787
1977
|
MOD Surface
|
1788
1978
|
TYPE #
|
1789
1979
|
PURPOSE �����ե����γƥԥ������ɽ�魯�Τ˻Ȥ���ӥåȿ�
|
1790
1980
|
RVAL UINT
|
1981
|
+
OBSOLETE PixelFormat#bpp
|
1982
|
+
|
1983
|
+
PROTO
|
1984
|
+
bpp
|
1985
|
+
|
1986
|
+
%%
|
1987
|
+
NAME bpp
|
1988
|
+
MOD PixelFormat
|
1989
|
+
TYPE #
|
1990
|
+
PURPOSE �����ե����γƥԥ������ɽ�魯�Τ˻Ȥ���ӥåȿ�
|
1991
|
+
RVAL UINT
|
1791
1992
|
|
1792
1993
|
PROTO
|
1793
1994
|
bpp
|
@@ -1903,11 +2104,11 @@ $[self]
|
|
1903
2104
|
���ޤ���
|
1904
2105
|
|
1905
2106
|
����ϡ�
|
1906
|
-
SDL.
|
2107
|
+
SDL::Surface.blit(src, 0, 0, src.w, src.h, self, x, y)
|
1907
2108
|
��Ʊ���Ǥ���
|
1908
2109
|
|
1909
2110
|
SEEALSO
|
1910
|
-
|
2111
|
+
Surface.blit
|
1911
2112
|
|
1912
2113
|
%%
|
1913
2114
|
NAME copy_rect
|
@@ -1924,7 +2125,7 @@ DESC
|
|
1924
2125
|
���ԡ����������������ե������ꡢ�֤��ޤ���
|
1925
2126
|
|
1926
2127
|
NOTES
|
1927
|
-
���Υ�åɤ������� @[
|
2128
|
+
���Υ�åɤ������� @[Surface.blit] ��Ƥ֤��ᡢ���å����줿�����ե������
|
1928
2129
|
�ƤФ��٤��ǤϤ���ޤ���
|
1929
2130
|
|
1930
2131
|
EXCEPTION *
|
@@ -1935,6 +2136,7 @@ TYPE .
|
|
1935
2136
|
DEP SGE
|
1936
2137
|
PURPOSE �����ե�����ư�ǥ��å����뤫�ɤ������֤���
|
1937
2138
|
RVAL true/false
|
2139
|
+
OBSOLETE Surface.auto_lock?
|
1938
2140
|
|
1939
2141
|
PROTO
|
1940
2142
|
auto_lock?
|
@@ -1942,6 +2144,18 @@ autoLock?
|
|
1942
2144
|
auto_lock
|
1943
2145
|
autoLock
|
1944
2146
|
|
2147
|
+
%%
|
2148
|
+
NAME auto_lock?
|
2149
|
+
MOD Surface
|
2150
|
+
TYPE .
|
2151
|
+
DEP SGE
|
2152
|
+
PURPOSE �����ե�����ư�ǥ��å����뤫�ɤ������֤���
|
2153
|
+
RVAL true/false
|
2154
|
+
|
2155
|
+
PROTO
|
2156
|
+
auto_lock?
|
2157
|
+
autoLock?
|
2158
|
+
|
1945
2159
|
DESC
|
1946
2160
|
�����ե������Ф���@[���å�|Surface#lock]��ɬ�פ�����Ȥ���
|
1947
2161
|
Ruby/SDL����ưŪ�˥��å�/������å����뤫
|
@@ -1950,11 +2164,23 @@ Ruby/SDL
|
|
1950
2164
|
SEEALSO
|
1951
2165
|
Surface#lock
|
1952
2166
|
Surface#unlock
|
2167
|
+
Surface.auto_lock_on
|
2168
|
+
Surface.auto_lock_off
|
2169
|
+
|
2170
|
+
%%
|
2171
|
+
NAME auto_lock_on
|
2172
|
+
TYPE .
|
2173
|
+
DEP SGE
|
2174
|
+
PURPOSE ��ư���å������Ѥ���褦�ˤ��ޤ���
|
2175
|
+
OBSOLETE Surface.auto_lock_on
|
2176
|
+
|
2177
|
+
PROTO
|
1953
2178
|
auto_lock_on
|
1954
|
-
|
2179
|
+
autoLockON
|
1955
2180
|
|
1956
2181
|
%%
|
1957
2182
|
NAME auto_lock_on
|
2183
|
+
MOD Surface
|
1958
2184
|
TYPE .
|
1959
2185
|
DEP SGE
|
1960
2186
|
PURPOSE ��ư���å������Ѥ���褦�ˤ��ޤ���
|
@@ -1969,11 +2195,23 @@ DESC
|
|
1969
2195
|
|
1970
2196
|
SEEALSO
|
1971
2197
|
Surface#lock
|
1972
|
-
auto_lock?
|
2198
|
+
Surface.auto_lock?
|
2199
|
+
Surface.auto_lock_off
|
2200
|
+
|
2201
|
+
%%
|
2202
|
+
NAME auto_lock_off
|
2203
|
+
TYPE .
|
2204
|
+
DEP SGE
|
2205
|
+
PURPOSE ��ư���å������Ѥ��ʤ��褦�ˤ��ޤ���
|
2206
|
+
OBSOLETE Surface.auto_lock_off
|
2207
|
+
|
2208
|
+
PROTO
|
1973
2209
|
auto_lock_off
|
2210
|
+
autoLockOFF
|
1974
2211
|
|
1975
2212
|
%%
|
1976
2213
|
NAME auto_lock_off
|
2214
|
+
MOD Surface
|
1977
2215
|
TYPE .
|
1978
2216
|
DEP SGE
|
1979
2217
|
PURPOSE ��ư���å������Ѥ��ʤ��褦�ˤ��ޤ���
|
@@ -1988,14 +2226,15 @@ DESC
|
|
1988
2226
|
|
1989
2227
|
SEEALSO
|
1990
2228
|
Surface#lock
|
1991
|
-
auto_lock?
|
1992
|
-
auto_lock_on
|
2229
|
+
Surface.auto_lock?
|
2230
|
+
Surface.auto_lock_on
|
1993
2231
|
|
1994
2232
|
%%
|
1995
2233
|
NAME auto_lock=
|
1996
2234
|
TYPE .
|
1997
2235
|
DEP SGE
|
1998
2236
|
PURPOSE ��ư���å���Ȥ����ɤ��������ꤷ�ޤ���
|
2237
|
+
OBSOLETE Surface.auto_lock_on
|
1999
2238
|
|
2000
2239
|
PROTO
|
2001
2240
|
auto_lock=(locking)
|
@@ -2017,10 +2256,21 @@ NAME transform
|
|
2017
2256
|
TYPE .
|
2018
2257
|
DEP SGE
|
2019
2258
|
PURPOSE ��ž�̾���������ޤ���
|
2259
|
+
OBSOLETE Surface.transform_draw
|
2020
2260
|
|
2021
2261
|
PROTO
|
2022
2262
|
transform(src,dst,angle,xscale,yscale,px,py,qx,qy,flags)
|
2023
2263
|
|
2264
|
+
%%
|
2265
|
+
NAME transform_draw
|
2266
|
+
MOD Surface
|
2267
|
+
TYPE .
|
2268
|
+
DEP SGE
|
2269
|
+
PURPOSE ��ž�̾���������ޤ���
|
2270
|
+
|
2271
|
+
PROTO
|
2272
|
+
transform_draw(src,dst,angle,xscale,yscale,px,py,qx,qy,flags)
|
2273
|
+
|
2024
2274
|
DESC
|
2025
2275
|
$[src]���ž�̾����礷����Τ�$[dst]�����褷�ޤ���
|
2026
2276
|
$[angle]�ϲ�ž����(ñ�̤ϥ饸����ǤϤʤ���)��$[xscale]��$[yscale]��
|
@@ -2054,10 +2304,10 @@ $[src]
|
|
2054
2304
|
|
2055
2305
|
���Υ�åɤϥ���ե��֥��ǥ��ϰ��ڤ��ޤ�������ե������ͥ��
|
2056
2306
|
�ͤ��ݤ��ޤ����⤷������ե��֥��ǥ������顼�����θ��̤Τ���
|
2057
|
-
��ž�̾����������������@[transform_blit]�������Ѥ��Ƥ���������
|
2307
|
+
��ž�̾����������������@[Surface.transform_blit]�������Ѥ��Ƥ���������
|
2058
2308
|
|
2059
2309
|
SEEALSO
|
2060
|
-
transform_blit
|
2310
|
+
Surface.transform_blit
|
2061
2311
|
Surface#transform_surface
|
2062
2312
|
Surface.new
|
2063
2313
|
|
@@ -2066,18 +2316,31 @@ NAME transform_blit
|
|
2066
2316
|
TYPE .
|
2067
2317
|
DEP SGE
|
2068
2318
|
PURPOSE ���顼��������ӥ���ե��֥��ɤ�ͭ���ʲ�ž�̾���������ޤ���
|
2319
|
+
OBSOLETE Surface.transform_blit
|
2320
|
+
|
2321
|
+
PROTO
|
2322
|
+
transform_blit(src,dst,angle,xscale,yscale,px,py,qx,qy,flags)
|
2323
|
+
transformBlit(src,dst,angle,xscale,yscale,px,py,qx,qy,flags)
|
2324
|
+
|
2325
|
+
%%
|
2326
|
+
NAME transform_blit
|
2327
|
+
MOD Surface
|
2328
|
+
TYPE .
|
2329
|
+
DEP SGE
|
2330
|
+
PURPOSE ���顼��������ӥ���ե��֥��ɤ�ͭ���ʲ�ž�̾���������ޤ���
|
2069
2331
|
|
2070
2332
|
PROTO
|
2071
2333
|
transform_blit(src,dst,angle,xscale,yscale,px,py,qx,qy,flags)
|
2072
2334
|
transformBlit(src,dst,angle,xscale,yscale,px,py,qx,qy,flags)
|
2073
2335
|
|
2074
2336
|
DESC
|
2075
|
-
��ž�̾���������ޤ��������ΰ�̣�ʤɤ�
|
2076
|
-
@[transform]
|
2337
|
+
��ž�̾���������ޤ��������ΰ�̣�ʤɤ�
|
2338
|
+
@[Surface.transform] ��Ʊ�ͤǤ���
|
2339
|
+
@[Surface.transform] �Ȥΰ㤤�� $[src] �����ꤵ�줿���顼����(ȴ����)
|
2077
2340
|
����ӥ���ե��֥��ǥ���ͭ���ˤʤ뤳�ȤǤ���
|
2078
2341
|
|
2079
2342
|
SEEALSO
|
2080
|
-
transform
|
2343
|
+
Surface.transform
|
2081
2344
|
Surface#transform_surface
|
2082
2345
|
Surface#set_color_key
|
2083
2346
|
Surface#set_alpha
|
@@ -2091,16 +2354,17 @@ LOCK
|
|
2091
2354
|
PURPOSE ľ�������褷�ޤ���
|
2092
2355
|
|
2093
2356
|
PROTO
|
2094
|
-
draw_line(x1,x2,y1,y2,color)
|
2095
|
-
drawLine(x1,x2,y1,y2,color)
|
2357
|
+
draw_line(x1,x2,y1,y2,color, aa=false, alpha=nil)
|
2358
|
+
drawLine(x1,x2,y1,y2,color, aa=false, alpha=nil)
|
2096
2359
|
|
2097
2360
|
DESC
|
2098
|
-
($[x1], $[y1])����($[x2], $[y2])�ޤǤ�ľ���� $[color]
|
2099
|
-
|
2361
|
+
($[x1], $[y1])����($[x2], $[y2])�ޤǤ�ľ���� $[color]
|
2362
|
+
�ǻ��ꤷ���������褷�ޤ���$[aa]�����ʤ��
|
2363
|
+
����������ꥢ�����줿ľ�������褷�ޤ���
|
2364
|
+
$[alpha]�������Ǥ�����Ϥ����ͤ���ͤȤ���
|
2365
|
+
����ե��֥��ǥ������褷�ޤ���
|
2100
2366
|
|
2101
2367
|
SEEALSO
|
2102
|
-
Surface#draw_aa_line
|
2103
|
-
Surface#draw_line_alpha
|
2104
2368
|
Surface#draw_rect
|
2105
2369
|
|
2106
2370
|
%%
|
@@ -2115,6 +2379,7 @@ PROTO
|
|
2115
2379
|
draw_aa_line(x1,x2,y1,y2,color)
|
2116
2380
|
drawAALine(x1,x2,y1,y2,color)
|
2117
2381
|
|
2382
|
+
OBSOLETE Surface#draw_line
|
2118
2383
|
DESC
|
2119
2384
|
($[x1], $[y1])����($[x2], $[y2])�ޤǤ�ľ���� $[color] �ǻ��ꤷ������
|
2120
2385
|
����������ꥢ���������褷�ޤ���
|
@@ -2129,6 +2394,7 @@ TYPE #
|
|
2129
2394
|
DEP SGE
|
2130
2395
|
LOCK
|
2131
2396
|
PURPOSE ����ե��֥��ǥ�����ľ�������褷�ޤ���
|
2397
|
+
OBSOLETE Surface#draw_line
|
2132
2398
|
|
2133
2399
|
PROTO
|
2134
2400
|
draw_line_alpha(x1,x2,y1,y2,color,alpha)
|
@@ -2148,6 +2414,7 @@ TYPE #
|
|
2148
2414
|
DEP SGE
|
2149
2415
|
LOCK
|
2150
2416
|
PURPOSE ����ե��֥��ǥ�����ľ�������褷�ޤ���
|
2417
|
+
OBSOLETE Surface#draw_line
|
2151
2418
|
|
2152
2419
|
PROTO
|
2153
2420
|
draw_aa_line_alpha(x1,x2,y1,y2,color,alpha)
|
@@ -2169,12 +2436,16 @@ LOCK
|
|
2169
2436
|
PURPOSE Ĺ���������褷�ޤ���
|
2170
2437
|
|
2171
2438
|
PROTO
|
2172
|
-
draw_rect(x,y,w,h,color)
|
2173
|
-
drawRect(x,y,w,h,color)
|
2439
|
+
draw_rect(x,y,w,h,color, fill=false, alpha=nil)
|
2440
|
+
drawRect(x,y,w,h,color, fill=false, alpha=nil)
|
2174
2441
|
|
2175
2442
|
DESC
|
2176
|
-
($[x], $[y])�����������$[w]������$[h]���⤵��Ĺ������
|
2177
|
-
|
2443
|
+
($[x], $[y])�����������$[w]������$[h]���⤵��Ĺ������
|
2444
|
+
$[color] ��
|
2445
|
+
���ꤷ���������褷�ޤ���$[fill]�����ʤ������ɤ��٤���
|
2446
|
+
���ʤ��ɤ��٤��ޤ���
|
2447
|
+
�ޤ���$[alpha]�������ʤ�Ф����ͤ���ͤȤ��ƥ���ե�
|
2448
|
+
�֥��ǥ������褷�ޤ���
|
2178
2449
|
|
2179
2450
|
SEEALSO
|
2180
2451
|
Surface#fill_rect
|
@@ -2186,6 +2457,7 @@ TYPE #
|
|
2186
2457
|
DEP SGE
|
2187
2458
|
LOCK
|
2188
2459
|
PURPOSE Ĺ������ե��֥��ǥ������褷�ޤ���
|
2460
|
+
OBSOLETE Surface#draw_rect
|
2189
2461
|
|
2190
2462
|
PROTO
|
2191
2463
|
draw_rect_alpha(x,y,w,h,color,alpha)
|
@@ -2206,6 +2478,7 @@ TYPE #
|
|
2206
2478
|
DEP SGE
|
2207
2479
|
LOCK
|
2208
2480
|
PURPOSE �ɤ��٤���Ĺ������ե��֥��ǥ������褷�ޤ���
|
2481
|
+
OBSOLETE Surface#draw_rect
|
2209
2482
|
|
2210
2483
|
PROTO
|
2211
2484
|
draw_filled_rect_alpha(x,y,w,h,color,alpha)
|
@@ -2228,20 +2501,23 @@ LOCK
|
|
2228
2501
|
PURPOSE �ߤ����褷�ޤ���
|
2229
2502
|
|
2230
2503
|
PROTO
|
2231
|
-
draw_circle(x,y,r,color)
|
2232
|
-
drawCircle(x,y,r,color)
|
2504
|
+
draw_circle(x,y,r,color,fill=false,aa=false,alpha=0)
|
2505
|
+
drawCircle(x,y,r,color,fill=false,aa=false,alpha=0)
|
2233
2506
|
|
2234
2507
|
DESC
|
2235
|
-
�濴 ($[x],$[y])��Ⱦ�� $[r]�αߤ� $[color]
|
2508
|
+
�濴 ($[x],$[y])��Ⱦ�� $[r]�αߤ� $[color] �ǻ��ꤷ����
|
2509
|
+
�����褷�ޤ���$[fill]�����ʤ�����ɤ��٤������ʤ��ɤ��٤��ޤ���
|
2510
|
+
$[aa]�����ʤ饢��������ꥢ�����ޤ���
|
2511
|
+
�ޤ���$[alpha]�������ˤ���Ȥ����ͤ���ͤȤ���
|
2512
|
+
����ե��֥��ǥ������褷�ޤ���
|
2513
|
+
|
2514
|
+
NOTES
|
2515
|
+
�ɤ��٤�($[fill])������������ꥢ��($[aa])��
|
2516
|
+
����ե��֥��ǥ���($[alpha])�٤�ͭ���ˤ���
|
2517
|
+
���褹�뤳�ȤϤǤ��ޤ���
|
2236
2518
|
|
2237
2519
|
SEEALSO
|
2238
2520
|
Surface#draw_ellipse
|
2239
|
-
Surface#draw_filled_circle
|
2240
|
-
Surface#draw_aa_circle
|
2241
|
-
Surface#draw_aa_filled_circle
|
2242
|
-
Surface#draw_circle_alpha
|
2243
|
-
Surface#draw_filled_circle_alpha
|
2244
|
-
Surface#draw_aa_circle_alpha
|
2245
2521
|
|
2246
2522
|
%%
|
2247
2523
|
NAME draw_filled_circle
|
@@ -2250,6 +2526,7 @@ TYPE #
|
|
2250
2526
|
DEP SGE
|
2251
2527
|
LOCK
|
2252
2528
|
PURPOSE �ɤ��٤����ߤ����褷�ޤ���
|
2529
|
+
OBSOLETE draw_circle
|
2253
2530
|
|
2254
2531
|
PROTO
|
2255
2532
|
draw_filled_circle(x,y,r,color)
|
@@ -2269,6 +2546,7 @@ TYPE #
|
|
2269
2546
|
DEP SGE
|
2270
2547
|
LOCK
|
2271
2548
|
PURPOSE ����������ꥢ�������ߤ����褷�ޤ���
|
2549
|
+
OBSOLETE draw_circle
|
2272
2550
|
|
2273
2551
|
PROTO
|
2274
2552
|
draw_aa_circle(x,y,r,color)
|
@@ -2288,6 +2566,7 @@ TYPE #
|
|
2288
2566
|
DEP SGE
|
2289
2567
|
LOCK
|
2290
2568
|
PURPOSE �ɤ��٤����ߤ�������ꥢ���������褷�ޤ���
|
2569
|
+
OBSOLETE draw_circle
|
2291
2570
|
|
2292
2571
|
PROTO
|
2293
2572
|
draw_aa_filled_circle(x,y,r,color)
|
@@ -2307,6 +2586,7 @@ TYPE #
|
|
2307
2586
|
DEP SGE
|
2308
2587
|
LOCK
|
2309
2588
|
PURPOSE �ߤ�ե��֥��ǥ������褷�ޤ���
|
2589
|
+
OBSOLETE draw_circle
|
2310
2590
|
|
2311
2591
|
PROTO
|
2312
2592
|
draw_circle_alpha(x,y,r,color,alpha)
|
@@ -2326,6 +2606,7 @@ TYPE #
|
|
2326
2606
|
DEP SGE
|
2327
2607
|
LOCK
|
2328
2608
|
PURPOSE �ɤ��٤����ߤ�ե��֥��ǥ������褷�ޤ���
|
2609
|
+
OBSOLETE draw_circle
|
2329
2610
|
|
2330
2611
|
PROTO
|
2331
2612
|
draw_filled_circle_alpha(x,y,r,color,alpha)
|
@@ -2345,6 +2626,7 @@ TYPE #
|
|
2345
2626
|
DEP SGE
|
2346
2627
|
LOCK
|
2347
2628
|
PURPOSE �ߤ�ե��֥��ǥ�������������ꥢ�����褷�ޤ���
|
2629
|
+
OBSOLETE draw_circle
|
2348
2630
|
|
2349
2631
|
PROTO
|
2350
2632
|
draw_aa_circle_alpha(x,y,r,color,alpha)
|
@@ -2366,20 +2648,23 @@ LOCK
|
|
2366
2648
|
PURPOSE �ʱߤ����褷�ޤ���
|
2367
2649
|
|
2368
2650
|
PROTO
|
2369
|
-
draw_ellipse(x,y,rx,ry,color)
|
2370
|
-
drawEllipse(x,y,rx,ry,color)
|
2651
|
+
draw_ellipse(x,y,rx,ry,color, fill=false, aa=false, alpha=nil)
|
2652
|
+
drawEllipse(x,y,rx,ry,color, fill=false, aa=false, alpha=nil) )
|
2371
2653
|
|
2372
2654
|
DESC
|
2373
2655
|
�濴 ($[x],$[y])��X������Ⱦ�� $[xr]��Y������Ⱦ�� $[ry] ���ʱߤ� $[color] �ǻ��ꤷ���������褷�ޤ���
|
2656
|
+
$[fill]�����ʤ�����ɤ��٤������ʤ��ɤ��٤��ޤ���
|
2657
|
+
$[aa]�����ʤ饢��������ꥢ�����ޤ���
|
2658
|
+
�ޤ���$[alpha]�������ˤ���Ȥ����ͤ���ͤȤ���
|
2659
|
+
����ե��֥��ǥ������褷�ޤ���
|
2660
|
+
|
2661
|
+
NOTES
|
2662
|
+
�ɤ��٤�($[fill])������������ꥢ��($[aa])��
|
2663
|
+
����ե��֥��ǥ���($[alpha])�٤�ͭ���ˤ���
|
2664
|
+
���褹�뤳�ȤϤǤ��ޤ���
|
2374
2665
|
|
2375
2666
|
SEEALSO
|
2376
2667
|
Surface#draw_circle
|
2377
|
-
Surface#draw_filled_ellipse
|
2378
|
-
Surface#draw_aa_ellipse
|
2379
|
-
Surface#draw_aa_filled_ellipse
|
2380
|
-
Surface#draw_ellipse_alpha
|
2381
|
-
Surface#draw_filled_ellipse_alpha
|
2382
|
-
Surface#draw_aa_ellipse_alpha
|
2383
2668
|
|
2384
2669
|
%%
|
2385
2670
|
NAME draw_filled_ellipse
|
@@ -2388,6 +2673,7 @@ TYPE #
|
|
2388
2673
|
DEP SGE
|
2389
2674
|
LOCK
|
2390
2675
|
PURPOSE �ɤ��٤����ʱߤ����褷�ޤ���
|
2676
|
+
OBSOLETE Surface#draw_ellipse
|
2391
2677
|
|
2392
2678
|
PROTO
|
2393
2679
|
draw_filled_ellipse(x,y,rx,ry,color)
|
@@ -2407,6 +2693,7 @@ TYPE #
|
|
2407
2693
|
DEP SGE
|
2408
2694
|
LOCK
|
2409
2695
|
PURPOSE ����������ꥢ�������ʱߤ����褷�ޤ���
|
2696
|
+
OBSOLETE Surface#draw_ellipse
|
2410
2697
|
|
2411
2698
|
PROTO
|
2412
2699
|
draw_aa_ellipse(x,y,rx,ry,color)
|
@@ -2426,6 +2713,7 @@ TYPE #
|
|
2426
2713
|
DEP SGE
|
2427
2714
|
LOCK
|
2428
2715
|
PURPOSE �ɤ��٤����ʱߤ�������ꥢ���������褷�ޤ���
|
2716
|
+
OBSOLETE Surface#draw_ellipse
|
2429
2717
|
|
2430
2718
|
PROTO
|
2431
2719
|
draw_aa_filled_ellipse(x,y,rx,ry,color)
|
@@ -2445,6 +2733,7 @@ TYPE #
|
|
2445
2733
|
DEP SGE
|
2446
2734
|
LOCK
|
2447
2735
|
PURPOSE �ʱߤ�ե��֥��ǥ������褷�ޤ���
|
2736
|
+
OBSOLETE Surface#draw_ellipse
|
2448
2737
|
|
2449
2738
|
PROTO
|
2450
2739
|
draw_ellipse_alpha(x,y,rx,ry,color,alpha)
|
@@ -2464,6 +2753,7 @@ TYPE #
|
|
2464
2753
|
DEP SGE
|
2465
2754
|
LOCK
|
2466
2755
|
PURPOSE �ɤ��٤����ʱߤ�ե��֥��ǥ������褷�ޤ���
|
2756
|
+
OBSOLETE Surface#draw_ellipse
|
2467
2757
|
|
2468
2758
|
PROTO
|
2469
2759
|
draw_filled_ellipse_alpha(x,y,rx,ry,color,alpha)
|
@@ -2483,6 +2773,7 @@ TYPE #
|
|
2483
2773
|
DEP SGE
|
2484
2774
|
LOCK
|
2485
2775
|
PURPOSE �ʱߤ�ե��֥��ǥ�������������ꥢ�����褷�ޤ���
|
2776
|
+
OBSOLETE Surface#draw_ellipse
|
2486
2777
|
|
2487
2778
|
PROTO
|
2488
2779
|
draw_aa_ellipse_alpha(x,y,rx,ry,color,alpha)
|
@@ -2504,19 +2795,18 @@ LOCK
|
|
2504
2795
|
PURPOSE �٥�������������
|
2505
2796
|
|
2506
2797
|
PROTO
|
2507
|
-
draw_bezier(x1,y1,x2,y2,x3,y3,x4,y4,level,color)
|
2508
|
-
drawBezier(x1,y1,x2,y2,x3,y3,x4,y4,level,color)
|
2798
|
+
draw_bezier(x1,y1,x2,y2,x3,y3,x4,y4,level,color,aa=false,alpha=nil)
|
2799
|
+
drawBezier(x1,y1,x2,y2,x3,y3,x4,y4,level,color,aa=false,alpha=nil)
|
2509
2800
|
|
2510
2801
|
DESC
|
2511
2802
|
($[x1], $[y1]) ���� ($[x4], $[y4])�ޤǤΥ٥���������
|
2512
2803
|
($[x2], $[y2]) �� ($[x3], $[y3]) ��ȥ�����ݥ���ȤȤ���
|
2513
2804
|
$[color]�ǻ��ꤷ������
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
Surface#draw_aa_bezier_alpha
|
2805
|
+
���褷�ޤ���$[level] �϶����ζ���٤ǡ�
|
2806
|
+
4����7��Ȥ����ɤ��Ǥ��礦��
|
2807
|
+
$[aa]�����ʤ饢��������ꥢ�����ޤ���
|
2808
|
+
�ޤ���$[alpha]�������ˤ���Ȥ����ͤ���ͤȤ���
|
2809
|
+
����ե��֥��ǥ������褷�ޤ���
|
2520
2810
|
|
2521
2811
|
%%
|
2522
2812
|
NAME draw_aa_bezier
|
@@ -2525,6 +2815,7 @@ TYPE #
|
|
2525
2815
|
DEP SGE
|
2526
2816
|
LOCK
|
2527
2817
|
PURPOSE ����������ꥢ�������٥�������������
|
2818
|
+
OBSOLETE Surface#draw_bezier
|
2528
2819
|
|
2529
2820
|
PROTO
|
2530
2821
|
draw_aa_bezier(x1,y1,x2,y2,x3,y3,x4,y4,level,color)
|
@@ -2546,6 +2837,7 @@ TYPE #
|
|
2546
2837
|
DEP SGE
|
2547
2838
|
LOCK
|
2548
2839
|
PURPOSE �٥���������ե��֥��ǥ���������
|
2840
|
+
OBSOLETE Surface#draw_bezier
|
2549
2841
|
|
2550
2842
|
PROTO
|
2551
2843
|
draw_bezier_alpha(x1,y1,x2,y2,x3,y3,x4,y4,level,color,alpha)
|
@@ -2567,6 +2859,7 @@ TYPE #
|
|
2567
2859
|
DEP SGE
|
2568
2860
|
LOCK
|
2569
2861
|
PURPOSE ����������ꥢ�������٥���������ե��֥��ǥ���������
|
2862
|
+
OBSOLETE Surface#draw_bezier
|
2570
2863
|
|
2571
2864
|
PROTO
|
2572
2865
|
draw_aa_bezier_alpha(x1,y1,x2,y2,x3,y3,x4,y4,level,color,alpha)
|
@@ -2597,8 +2890,8 @@ transformSurface(bgcolor,angle,xscale,yscale,flags)
|
|
2597
2890
|
DESC
|
2598
2891
|
$[self] �����̾��ѷ����������ե������������֤���
|
2599
2892
|
��ž�ˤ�ä���������֤� $[bgcolor] �ǻ��ꤷ�����������롣
|
2600
|
-
���� $[angle]��$[xscale]��$[yscale]��$[flags] ��
|
2601
|
-
��Ʊ����̣�Ǥ��롣
|
2893
|
+
���� $[angle]��$[xscale]��$[yscale]��$[flags] ��
|
2894
|
+
@[Surface.transform] ��Ʊ����̣�Ǥ��롣
|
2602
2895
|
|
2603
2896
|
�����������ե����� $[self] ��Ʊ�� bpp ����ӥԥ�����ե����ޥåȤ�
|
2604
2897
|
���ġ�
|
@@ -2606,6 +2899,6 @@ $[self]
|
|
2606
2899
|
EXCEPTION *
|
2607
2900
|
|
2608
2901
|
SEEALSO
|
2609
|
-
transform
|
2610
|
-
transform_blit
|
2902
|
+
Surface.transform
|
2903
|
+
Surface.transform_blit
|
2611
2904
|
|