Subversion Repositories Kolibri OS

Rev

Rev 2927 | Rev 3040 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 2975
Line 1070... Line 1070...
1070
	popad
1070
	popad
1071
	ret
1071
	ret
1072
endp
1072
endp
Line 1073... Line 1073...
1073
 
1073
 
-
 
1074
align 4
-
 
1075
rot_table: ;â ¡«¨æ  ¤«ï 㪠§ ­¨ï ­  ¯®¤ä㭪樨 ¤«ï ¯®¢®à®â®¢
-
 
1076
	dd buf_rotate.8b90,buf_rotate.24b90,buf_rotate.32b90,\
-
 
1077
	buf_rotate.8b180,buf_rotate.24b180,buf_rotate.32b180
-
 
1078
 
-
 
1079
;¯®¢®à®â ¨§®¡à ¦¥­¨ï ­  90 ¨«¨ 180 £à ¤ãᮢ
-
 
1080
align 4
-
 
1081
proc buf_rotate, buf_struc:dword, angle:dword
-
 
1082
locals
-
 
1083
	n_data dd ?
-
 
1084
	dec_h dd ? ;ç¨á«® ¡ ©â, ¤«ï 㬥­ì襭¨ï ª®®à¤¨­ âë y
-
 
1085
endl
-
 
1086
	pushad
-
 
1087
	mov edi,[buf_struc]
-
 
1088
	mov ebx,buf2d_w
-
 
1089
	mov ecx,buf2d_h
-
 
1090
 
-
 
1091
	lea eax,[rot_table]
-
 
1092
	cmp dword[angle],90 ;¯à®¢¥àª  㣫  ¯®¢®à®â 
-
 
1093
	je .beg_0
-
 
1094
	cmp dword[angle],180
-
 
1095
	jne @f
-
 
1096
		add eax,12
-
 
1097
		jmp .beg_0
-
 
1098
	@@:
-
 
1099
	jmp .end_f
-
 
1100
	.beg_0: ;¯à®¢¥àª  ¡¨â­®á⨠¡ãä¥à 
-
 
1101
	cmp buf2d_bits,8
-
 
1102
	jne @f
-
 
1103
		jmp dword[eax]
-
 
1104
	@@:
-
 
1105
	cmp buf2d_bits,24
-
 
1106
	jne @f
-
 
1107
		add eax,4
-
 
1108
		jmp dword[eax]
-
 
1109
	@@:
-
 
1110
	cmp buf2d_bits,32
-
 
1111
	jne @f
-
 
1112
		add eax,8
-
 
1113
		jmp dword[eax]
-
 
1114
	@@:
-
 
1115
	jmp .end_f
-
 
1116
 
-
 
1117
	.8b90: ;¯®¢®à®â 8 ¡¨â­®£® ¡ãä¥à  ­  90 £à ¤ãᮢ
-
 
1118
		mov edx,ecx ;edx - buf_h
-
 
1119
		imul ecx,ebx
-
 
1120
		invoke mem.alloc,ecx ;¢ë¤¥«ï¥¬ ¢à¥¬¥­­ãî ¯ ¬ïâì
-
 
1121
		cmp eax,0
-
 
1122
		je .end_f
-
 
1123
		mov [n_data],eax
-
 
1124
		mov [dec_h],ecx
-
 
1125
		inc dword[dec_h]
-
 
1126
 
-
 
1127
		;copy buf --> mem
-
 
1128
		mov edi,[buf_struc]
-
 
1129
		mov esi,buf2d_data
-
 
1130
		mov edi,eax ;[n_data]
-
 
1131
		dec edx ;ª®à¥ªâ¨à㥬 edx ­  1 ¡ ©â, ¤«ï ª®¬¯¥­á æ¨¨ ᤢ¨£  ¢ movsb
-
 
1132
		add edi,edx
-
 
1133
		xor eax,eax
-
 
1134
		cld
-
 
1135
		.cycle_0:
-
 
1136
			movsb
-
 
1137
			add edi,edx
-
 
1138
			inc eax
-
 
1139
			cmp eax,ebx
-
 
1140
			jl @f
-
 
1141
				xor eax,eax
-
 
1142
				sub edi,[dec_h]
-
 
1143
			@@:
-
 
1144
			loop .cycle_0
-
 
1145
 
-
 
1146
		;change buf_w <---> buf_h
-
 
1147
		mov esi,[n_data]
-
 
1148
		mov edi,[buf_struc]
-
 
1149
		mov edi,buf2d_data
-
 
1150
		mov ecx,ebx
-
 
1151
		inc edx ;¨á¯à ¢«ï¥¬ ᪮४â¨à®¢ ­­ë© edx
-
 
1152
		imul ecx,edx
-
 
1153
		;copy buf <-- mem
-
 
1154
		;cld
-
 
1155
		rep movsb
-
 
1156
		invoke mem.free,[n_data]
-
 
1157
		jmp .change_w_h
-
 
1158
	.24b90: ;¯®¢®à®â 24 ¡¨â­®£® ¡ãä¥à  ­  90 £à ¤ãᮢ
-
 
1159
		mov esi,ecx
-
 
1160
		imul esi,ebx
-
 
1161
		lea ecx,[ecx+ecx*2]
-
 
1162
		mov edx,ecx ;edx - buf_h * 3
-
 
1163
		imul ecx,ebx
-
 
1164
		invoke mem.alloc,ecx ;¢ë¤¥«ï¥¬ ¢à¥¬¥­­ãî ¯ ¬ïâì
-
 
1165
		cmp eax,0
-
 
1166
		je .end_f
-
 
1167
		mov [n_data],eax
-
 
1168
		mov [dec_h],ecx
-
 
1169
		add dword[dec_h],3
-
 
1170
 
-
 
1171
		;copy buf --> mem
-
 
1172
		
-
 
1173
		mov edi,[buf_struc]
-
 
1174
		mov ecx,esi
-
 
1175
		mov esi,buf2d_data
-
 
1176
		mov edi,eax ;[n_data]
-
 
1177
		sub edx,3 ;ª®à¥ªâ¨à㥬 edx ­  3 ¡ ©â , ¤«ï ª®¬¯¥­á æ¨¨ ᤢ¨£ 
-
 
1178
		add edi,edx
-
 
1179
		xor eax,eax
-
 
1180
		cld
-
 
1181
		.cycle_1:
-
 
1182
			movsw
-
 
1183
			movsb
-
 
1184
			add edi,edx
-
 
1185
			inc eax
-
 
1186
			cmp eax,ebx
-
 
1187
			jl @f
-
 
1188
				xor eax,eax
-
 
1189
				sub edi,[dec_h]
-
 
1190
			@@:
-
 
1191
			loop .cycle_1
-
 
1192
 
-
 
1193
		;copy buf <-- mem
-
 
1194
		mov esi,[n_data]
-
 
1195
		mov edi,[buf_struc]
-
 
1196
		mov edi,buf2d_data
-
 
1197
		mov ecx,ebx
-
 
1198
		add edx,3 ;¨á¯à ¢«ï¥¬ ᪮४â¨à®¢ ­­ë© edx
-
 
1199
		imul ecx,edx
-
 
1200
		;cld
-
 
1201
		rep movsb
-
 
1202
		invoke mem.free,[n_data]
-
 
1203
		jmp .change_w_h
-
 
1204
	.32b90: ;¯®¢®à®â 32 ¡¨â­®£® ¡ãä¥à  ­  90 £à ¤ãᮢ
-
 
1205
		shl ecx,2
-
 
1206
		mov edx,ecx ;edx - buf_h * 4
-
 
1207
		imul ecx,ebx
-
 
1208
		invoke mem.alloc,ecx ;¢ë¤¥«ï¥¬ ¢à¥¬¥­­ãî ¯ ¬ïâì
-
 
1209
		cmp eax,0
-
 
1210
		je .end_f
-
 
1211
		mov [n_data],eax
-
 
1212
		mov [dec_h],ecx
-
 
1213
		add dword[dec_h],4
-
 
1214
 
-
 
1215
		;copy buf --> mem
-
 
1216
		mov edi,[buf_struc]
-
 
1217
		shr ecx,2
-
 
1218
		mov esi,buf2d_data
-
 
1219
		mov edi,eax ;[n_data]
-
 
1220
		sub edx,4 ;ª®à¥ªâ¨à㥬 edx ­  4 ¡ ©â , ¤«ï ª®¬¯¥­á æ¨¨ ᤢ¨£  ¢ movsd
-
 
1221
		add edi,edx
-
 
1222
		xor eax,eax
-
 
1223
		cld
-
 
1224
		.cycle_2:
-
 
1225
			movsd
-
 
1226
			add edi,edx
-
 
1227
			inc eax
-
 
1228
			cmp eax,ebx
-
 
1229
			jl @f
-
 
1230
				xor eax,eax
-
 
1231
				sub edi,[dec_h]
-
 
1232
			@@:
-
 
1233
			loop .cycle_2
-
 
1234
 
-
 
1235
		;copy buf <-- mem
-
 
1236
		mov esi,[n_data]
-
 
1237
		mov edi,[buf_struc]
-
 
1238
		mov edi,buf2d_data
-
 
1239
		mov ecx,ebx
-
 
1240
		add edx,4 ;¨á¯à ¢«ï¥¬ ᪮४â¨à®¢ ­­ë© edx
-
 
1241
		imul ecx,edx
-
 
1242
		shr ecx,2
-
 
1243
		;cld
-
 
1244
		rep movsd
-
 
1245
		invoke mem.free,[n_data]
-
 
1246
		;jmp .change_w_h
-
 
1247
	.change_w_h: ;change buf_w <---> buf_h
-
 
1248
		mov edi,[buf_struc]
-
 
1249
		mov eax,buf2d_w
-
 
1250
		mov ebx,buf2d_h
-
 
1251
		mov buf2d_h,eax
-
 
1252
		mov buf2d_w,ebx
-
 
1253
		jmp .end_f
-
 
1254
	.8b180: ;¯®¢®à®â 8 ¡¨â­®£® ¡ãä¥à  ­  180 £à ¤ãᮢ
-
 
1255
		mov edi,buf2d_data
-
 
1256
		mov esi,edi
-
 
1257
		imul ecx,ebx
-
 
1258
		add esi,ecx
-
 
1259
		dec esi
-
 
1260
		shr ecx,1 ;ecx - ç¨á«® ¯¨ªá¥«¥© ¡ãä¥à  : 2
-
 
1261
		std
-
 
1262
		@@:
-
 
1263
			lodsb
-
 
1264
			mov ah,byte[edi]
-
 
1265
			mov byte[esi+1],ah
-
 
1266
			mov byte[edi],al
-
 
1267
			inc edi
-
 
1268
			loop @b
-
 
1269
			jmp .end_f
-
 
1270
	.24b180: ;¯®¢®à®â 24 ¡¨â­®£® ¡ãä¥à  ­  180 £à ¤ãᮢ
-
 
1271
		mov esi,buf2d_data
-
 
1272
		mov edi,esi
-
 
1273
		imul ecx,ebx
-
 
1274
		mov eax,ecx
-
 
1275
		lea ecx,[ecx+ecx*2]
-
 
1276
		add edi,ecx
-
 
1277
		sub edi,3
-
 
1278
		shr eax,1
-
 
1279
		mov ecx,eax ;ecx - ç¨á«® ¯¨ªá¥«¥© ¡ãä¥à  : 2
-
 
1280
		cld
-
 
1281
		@@:
-
 
1282
			lodsw
-
 
1283
			mov edx,eax
-
 
1284
			lodsb
-
 
1285
			mov bx,word[edi]
-
 
1286
			mov word[esi-3],bx
-
 
1287
			mov bl,byte[edi+2]
-
 
1288
			mov byte[esi-1],bl
-
 
1289
			mov byte[edi+2],al
-
 
1290
			mov word[edi],dx
-
 
1291
			sub edi,3
-
 
1292
			loop @b
-
 
1293
			jmp .end_f
-
 
1294
	.32b180: ;¯®¢®à®â 32 ¡¨â­®£® ¡ãä¥à  ­  180 £à ¤ãᮢ
-
 
1295
		mov edi,buf2d_data
-
 
1296
		mov esi,edi
-
 
1297
		imul ecx,ebx
-
 
1298
		shl ecx,2
-
 
1299
		add esi,ecx
-
 
1300
		sub esi,4
-
 
1301
		shr ecx,3 ;ecx - ç¨á«® ¯¨ªá¥«¥© ¡ãä¥à  : 2
-
 
1302
		std
-
 
1303
		@@:
-
 
1304
			lodsd
-
 
1305
			mov ebx,dword[edi]
-
 
1306
			mov dword[esi+4],ebx
-
 
1307
			mov dword[edi],eax
-
 
1308
			add edi,4
-
 
1309
			loop @b
-
 
1310
		;jmp .end_f
-
 
1311
 
-
 
1312
	.end_f:
-
 
1313
	popad
-
 
1314
	ret
-
 
1315
endp
-
 
1316
 
1074
align 4
1317
align 4
1075
proc buf_line_brs, buf_struc:dword, coord_x0:dword, coord_y0:dword, coord_x1:dword, coord_y1:dword, color:dword
1318
proc buf_line_brs, buf_struc:dword, coord_x0:dword, coord_y0:dword, coord_x1:dword, coord_y1:dword, color:dword
1076
locals
1319
locals
1077
	loc_1 dd ?
1320
	loc_1 dd ?
1078
	loc_2 dd ?
1321
	loc_2 dd ?
Line 3236... Line 3479...
3236
	shl edx,1
3479
	shl edx,1
3237
	sub ebx,edx
3480
	sub ebx,edx
3238
	;ecx - è¨à¨­  ¨á室­®£® ¢®ªá¥«ï : 2
3481
	;ecx - è¨à¨­  ¨á室­®£® ¢®ªá¥«ï : 2
3239
	;ebx - ¢ëá®â  ¨á室­®£® ¢®ªá¥«ï (¡¥§ ®á­®¢ ­¨ï)
3482
	;ebx - ¢ëá®â  ¨á室­®£® ¢®ªá¥«ï (¡¥§ ®á­®¢ ­¨ï)
3240
	;edx - ¢ëá®â  ®á­®¢ ­¨ï ¨á室­®£® ¢®ªá¥«ï
3483
	;edx - ¢ëá®â  ®á­®¢ ­¨ï ¨á室­®£® ¢®ªá¥«ï
-
 
3484
	mov eax,[h]
-
 
3485
	cmp eax,0
-
 
3486
	je @f
3241
	stdcall vox_add, [buf_v2], [buf_v1], ecx,0,0
3487
		stdcall vox_add, [buf_v2], [buf_v1], ecx,0,0
3242
	stdcall vox_add, [buf_v2], [buf_v1], ecx,ebx,0
3488
		stdcall vox_add, [buf_v2], [buf_v1], ecx,ebx,0
Line 3243... Line -...
3243
 
-
 
3244
	mov eax,[h]
3489
 
3245
	stdcall vox_add, [buf_v2], [buf_v1], 0,eax,eax
3490
		stdcall vox_add, [buf_v2], [buf_v1], 0,eax,eax
3246
	push eax ;stdcall ...
3491
		push eax ;stdcall ...
3247
	add eax,ebx
3492
		add eax,ebx
3248
	stdcall vox_add, [buf_v2], [buf_v1], 0,eax ;,...
3493
		stdcall vox_add, [buf_v2], [buf_v1], 0,eax ;,...
3249
	sub eax,ebx
-
 
3250
 
3494
		sub eax,ebx
-
 
3495
		shl ecx,1
3251
	shl ecx,1
3496
 
3252
	;ecx - è¨à¨­  ¨á室­®£® ¢®ªá¥«ï
-
 
3253
	mov eax,[h]
3497
		;ecx - è¨à¨­  ¨á室­®£® ¢®ªá¥«ï
3254
	stdcall vox_add, [buf_v2], [buf_v1], ecx,eax,eax
3498
		stdcall vox_add, [buf_v2], [buf_v1], ecx,eax,eax
3255
	push eax ;stdcall ...,[h]
3499
		push eax ;stdcall ...,[h]
3256
	add eax,ebx
3500
		add eax,ebx
3257
	stdcall vox_add, [buf_v2], [buf_v1], ecx,eax;,[h]
3501
		stdcall vox_add, [buf_v2], [buf_v1], ecx,eax;,[h]
Line 3261... Line 3505...
3261
	;ecx - è¨à¨­  ¨á室­®£® ¢®ªá¥«ï : 2
3505
		;ecx - è¨à¨­  ¨á室­®£® ¢®ªá¥«ï : 2
3262
	stdcall vox_add, [buf_v2], [buf_v1], ecx,edx,edx
3506
		stdcall vox_add, [buf_v2], [buf_v1], ecx,edx,edx
3263
	add ebx,edx
3507
		add ebx,edx
3264
	stdcall vox_add, [buf_v2], [buf_v1], ecx,ebx,edx
3508
		stdcall vox_add, [buf_v2], [buf_v1], ecx,ebx,edx
Line -... Line 3509...
-
 
3509
 
-
 
3510
		jmp .end_0
-
 
3511
	@@:
-
 
3512
		;¥á«¨ h = 0, ⮣¤  ¯®«ãç ¥¬ ª¨áâì ­  2 £à ­¨
-
 
3513
		;¢ â ª®¬ á«ãç ¥ ¤«ï ¯®«ã祭¨ï £«ã¡¨­ë ¡¥à¥¬ è¨à¨­ã / 2
-
 
3514
		mov eax,ecx
-
 
3515
		;2 «¥¢ëå ¢®ªá¥«ï
-
 
3516
		stdcall vox_add, [buf_v2], [buf_v1], 0,0,eax
-
 
3517
		stdcall vox_add, [buf_v2], [buf_v1], 0,ebx,eax
-
 
3518
		shl eax,1
-
 
3519
		;2 業âà «ì­ëå ¯¥à¥¤­¨å ¢®ªá¥«ï (§ ¤­¨¥ 業âà «ì­ë¥ ­¥ ¢ë¢®¤¨¬)
-
 
3520
		stdcall vox_add, [buf_v2], [buf_v1], ecx,0,eax
-
 
3521
		stdcall vox_add, [buf_v2], [buf_v1], ecx,ebx,eax
-
 
3522
		shr eax,1
-
 
3523
		shl ecx,1
-
 
3524
		;2 ¯à ¢ëå ¢®ªá¥«ï
-
 
3525
		stdcall vox_add, [buf_v2], [buf_v1], ecx,0,eax
-
 
3526
		stdcall vox_add, [buf_v2], [buf_v1], ecx,ebx,eax
-
 
3527
 
-
 
3528
	.end_0:
-
 
3529
 
3265
 
3530
 
3266
	ret
3531
	ret
Line 3267... Line 3532...
3267
endp
3532
endp
3268
 
3533
 
Line 3664... Line 3929...
3664
;---
3929
;---
3665
		push ebx
3930
		push ebx
3666
			;mov eax,(h-h_osn/2)
3931
			;mov eax,(h-h_osn/2)
3667
			mov ebx,[h_br]
3932
			mov ebx,[h_br]
3668
			movzx eax,byte[ebx+1]
3933
			movzx eax,byte[ebx+1]
-
 
3934
			cmp byte[ebx+2],0
-
 
3935
			je @f
-
 
3936
				;¥á«¨ ª¨áâì á 3-¬ï £à ­ï¬¨
3669
			movzx ebx,byte[ebx+2]
3937
				movzx ebx,byte[ebx+2]
3670
			shr ebx,1
3938
				shr ebx,1
3671
			sub eax,ebx
3939
				sub eax,ebx
-
 
3940
				jmp .end_0
-
 
3941
			@@:
-
 
3942
				;¥á«¨ ª¨áâì á 2-¬ï £à ­ï¬¨
-
 
3943
				movzx ebx,byte[ebx]
-
 
3944
				shr ebx,1
-
 
3945
			.end_0:
3672
		cmp ecx,1
3946
		cmp ecx,1
3673
		jl .end_c1
3947
		jl @f
3674
			shl eax,cl
3948
			shl eax,cl
3675
			shl ebx,cl
3949
			shl ebx,cl
3676
		.end_c1:
3950
		@@:
3677
		add esi,ebx
3951
		add esi,ebx
3678
		pop ebx
3952
		pop ebx
3679
		add edx,eax ;ª®à¥ªâ¨à®¢ª  ¢ëá®âë ¯®¤ ¢®ªá¥«ì ­¨¦­¥£® ã஢­ï
3953
		add edx,eax ;ª®à¥ªâ¨à®¢ª  ¢ëá®âë ¯®¤ ¢®ªá¥«ì ­¨¦­¥£® ã஢­ï
3680
;---
3954
;---
3681
		mov ah,byte[edi+3]
3955
		mov ah,byte[edi+3]
Line 3821... Line 4095...
3821
		shr ecx,1
4095
		shr ecx,1
3822
		mov eax,ecx ;eax - ¢ëá®â  ®á­®¢ ­¨ï ¥¤¨­¨ç­®£® ¢®ªá¥«ï : 2
4096
		mov eax,ecx ;eax - ¢ëá®â  ®á­®¢ ­¨ï ¥¤¨­¨ç­®£® ¢®ªá¥«ï : 2
3823
	pop ecx ebx
4097
	pop ecx ebx
Line 3824... Line 4098...
3824
 
4098
 
3825
	cmp ecx,1
4099
	cmp ecx,1
3826
	jl .no_scale ;¢® ¨§¡¥¦ ­¨¥ § æ¨ª«¨¢ ­¨ï
4100
	jl @f ;¢® ¨§¡¥¦ ­¨¥ § æ¨ª«¨¢ ­¨ï
3827
		shl eax,cl
4101
		shl eax,cl
3828
		shl dword[osn_w_2],cl
4102
		shl dword[osn_w_2],cl
3829
		shl dword[vox_h],cl
4103
		shl dword[vox_h],cl
Line 3830... Line 4104...
3830
	.no_scale:
4104
	@@:
3831
 
4105
 
3832
;	add esi,eax ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z (ª®¬¯¥­á æ¨ï ¤«ï ª®®à¤¨­ âë y)
4106
;	add esi,eax ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z (ª®¬¯¥­á æ¨ï ¤«ï ª®®à¤¨­ âë y)
3833
	bt word[edi],0 ;test voxel coord x
4107
	bt word[edi],0 ;test voxel coord x
-
 
4108
	jnc @f
-
 
4109
		add ebx,[osn_w_2]
-
 
4110
		cmp eax,0
-
 
4111
		jne .end_0
-
 
4112
			add esi,[osn_w_2] ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z
3834
	jnc @f
4113
			jmp @f
3835
		add ebx,[osn_w_2]
4114
		.end_0:
3836
		add edx,eax
4115
		add edx,eax
3837
		add esi,eax ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z
4116
		add esi,eax ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z
3838
	@@:
4117
	@@:
3839
	bt word[edi],1 ;test voxel coord y
4118
	bt word[edi],1 ;test voxel coord y
-
 
4119
	jnc @f
-
 
4120
		add ebx,[osn_w_2]
-
 
4121
		cmp eax,0
-
 
4122
		jne .end_1
-
 
4123
			sub esi,[osn_w_2] ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z
3840
	jnc @f
4124
			jmp @f
3841
		add ebx,[osn_w_2]
4125
		.end_1:
3842
		sub edx,eax
4126
		sub edx,eax
3843
		sub esi,eax ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z
4127
		sub esi,eax ;¬¥­ï¥¬ £«ã¡¨­ã ¤«ï ¡ãä¥à  z
3844
	@@:
4128
	@@:
Line 4454... Line 4738...
4454
	dd sz_buf2d_create_f_img, buf_create_f_img
4738
	dd sz_buf2d_create_f_img, buf_create_f_img
4455
	dd sz_buf2d_clear, buf_clear
4739
	dd sz_buf2d_clear, buf_clear
4456
	dd sz_buf2d_draw, buf_draw_buf
4740
	dd sz_buf2d_draw, buf_draw_buf
4457
	dd sz_buf2d_delete, buf_delete
4741
	dd sz_buf2d_delete, buf_delete
4458
	dd sz_buf2d_resize, buf_resize
4742
	dd sz_buf2d_resize, buf_resize
-
 
4743
	dd sz_buf2d_rotate, buf_rotate
4459
	dd sz_buf2d_line, buf_line_brs
4744
	dd sz_buf2d_line, buf_line_brs
4460
	dd sz_buf2d_line_sm, buf_line_brs_sm
4745
	dd sz_buf2d_line_sm, buf_line_brs_sm
4461
	dd sz_buf2d_rect_by_size, buf_rect_by_size
4746
	dd sz_buf2d_rect_by_size, buf_rect_by_size
4462
	dd sz_buf2d_filled_rect_by_size, buf_filled_rect_by_size
4747
	dd sz_buf2d_filled_rect_by_size, buf_filled_rect_by_size
4463
	dd sz_buf2d_circle, buf_circle
4748
	dd sz_buf2d_circle, buf_circle
Line 4492... Line 4777...
4492
	sz_buf2d_create_f_img db 'buf2d_create_f_img',0
4777
	sz_buf2d_create_f_img db 'buf2d_create_f_img',0
4493
	sz_buf2d_clear db 'buf2d_clear',0 ;®ç¨á⪠ ¡ãä¥à  㪠§ ­­ë¬ 梥⮬
4778
	sz_buf2d_clear db 'buf2d_clear',0 ;®ç¨á⪠ ¡ãä¥à  㪠§ ­­ë¬ 梥⮬
4494
	sz_buf2d_draw db 'buf2d_draw',0
4779
	sz_buf2d_draw db 'buf2d_draw',0
4495
	sz_buf2d_delete db 'buf2d_delete',0
4780
	sz_buf2d_delete db 'buf2d_delete',0
4496
	sz_buf2d_resize db 'buf2d_resize',0
4781
	sz_buf2d_resize db 'buf2d_resize',0
-
 
4782
	sz_buf2d_rotate db 'buf2d_rotate',0
4497
	sz_buf2d_line db 'buf2d_line',0 ;à¨á®¢ ­¨¥ «¨­¨¨
4783
	sz_buf2d_line db 'buf2d_line',0 ;à¨á®¢ ­¨¥ «¨­¨¨
4498
	sz_buf2d_line_sm db 'buf2d_line_sm',0 ;à¨á®¢ ­¨¥ ᣫ ¦¥­­®© «¨­¨¨
4784
	sz_buf2d_line_sm db 'buf2d_line_sm',0 ;à¨á®¢ ­¨¥ ᣫ ¦¥­­®© «¨­¨¨
4499
	sz_buf2d_rect_by_size db 'buf2d_rect_by_size',0 ;à¨á®¢ ­¨¥ à ¬ª¨ ¯àאַ㣮«ì­¨ª , 2-ï ª®®à¤¨­ â  § ¤ ­  ¯® à §¬¥àã
4785
	sz_buf2d_rect_by_size db 'buf2d_rect_by_size',0 ;à¨á®¢ ­¨¥ à ¬ª¨ ¯àאַ㣮«ì­¨ª , 2-ï ª®®à¤¨­ â  § ¤ ­  ¯® à §¬¥àã
4500
	sz_buf2d_filled_rect_by_size db 'buf2d_filled_rect_by_size',0 ;à¨á®¢ ­¨¥ § «¨â®£® ¯àאַ㣮«ì­¨ª , 2-ï ª®®à¤¨­ â  § ¤ ­  ¯® à §¬¥àã
4786
	sz_buf2d_filled_rect_by_size db 'buf2d_filled_rect_by_size',0 ;à¨á®¢ ­¨¥ § «¨â®£® ¯àאַ㣮«ì­¨ª , 2-ï ª®®à¤¨­ â  § ¤ ­  ¯® à §¬¥àã
4501
	sz_buf2d_circle db 'buf2d_circle',0 ;à¨á®¢ ­¨¥ ®ªà㦭®áâ¨
4787
	sz_buf2d_circle db 'buf2d_circle',0 ;à¨á®¢ ­¨¥ ®ªà㦭®áâ¨