I know this is a 2d question but Im using B3D.
When rotating an Image and using Imagehandle() Image size grows and wont stay centered, Why
Try this......
Unless you absoulutly know for fact what Im doing wrong post your answer else please try this first and sit back and watch this for a minute befor ansewing.
I don't want to use MidHandle eather.
Thanks For any help you got........
When rotating an Image and using Imagehandle() Image size grows and wont stay centered, Why
Try this......
Unless you absoulutly know for fact what Im doing wrong post your answer else please try this first and sit back and watch this for a minute befor ansewing.
I don't want to use MidHandle eather.
; RotateImage Example Graphics 640,480,16,2 gfxBox=CreateImage(50,50) SetBuffer ImageBuffer(gfxBox) Color 255,0,0 Rect 0,0,50,50,1 Color 0,0,255 Rect 1,1,5,5,1 SetBuffer FrontBuffer() While Not KeyHit(1) Cls Color 0,255,255 Rect 239,279,52,52,0 DrawImage gfxbox,240,280 RotateImage gfxBox,-180 HandleImage gfxbox,0,0 Color 0,255,0 Text 200,220," Box Width "+ImageWidth (gfxbox) Text 200,240," Box Height "+ImageHeight(gfxbox) ; Delay Start.......... If start=0 Delay 3000 Else If start=1 Delay 200 End If start=1 Wend
Thanks For any help you got........