From: | Damir Arh |
Date: | 31 Aug 2000 at 09:13:18 |
Subject: | Shape commands size limit? |
Hello!
Are there by any chance any shape size limits for the shape commands to work
correctly? The CopyShape and Scale commands somehow corrupt the shapes when
they are too big. I've written the following test program:
Print "Filename: "
filename$=Edit$(256)
If Exists(filename$)=0 Then End
ILBMInfo filename$
width.l = ILBMWidth
height.l = ILBMHeight
dept.l = ILBMDepth
InitShape 0,width,height,dept
ShapesBitMap 0,1
LoadBitMap 1,filename$
LoadPalette 1,filename$
MakeCookie 0
Screen 0,0,0,640,512,8,$8004,"",1,1
ScreensBitMap 0,0
Use Palette 1
Cls 0
;CopyShape 0,1
;Scale 0,0.5,0.5
ClipBlit 0,0,0
MouseWait
End
When I try to run any picture with the following program, it gets displayed
correctly but as soon as I use either one of the two commented commands
(when uncommenting CopyShape I also blit the shape 1 instead of 0) the
picture gets corrupted, though that doesn't happen with smaller pictures.
The problem picture has an approximate size of 600x400 but with the sizes of
app. 150x150 none of the problems appear.
Am I missing something or are these commands really buggy when it comes to
bigger pictures? What could I do to solve this problem?
Kind regards
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie