Posted: Tue Jun 25, 2002 9:14 pm
Restored from previous forum. Originally posted by cor.
When using the CopyImage(0,1)
The copied images are not placed at the same x,y location when drawing to
WindowOutput.
What i'am i doing wrong?
; I tried with and without CreateImage(1,150,150)
CreateImage(1,150,150)
Using Windows 98 SE
Registered PB version : 3.2 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
Edited by - cor on 25 June 2002 22:15:17
When using the CopyImage(0,1)
The copied images are not placed at the same x,y location when drawing to
WindowOutput.
What i'am i doing wrong?
; I tried with and without CreateImage(1,150,150)
CreateImage(1,150,150)
Code: Select all
if CreateImage(0,150,150)
StartDrawing(ImageOutput())
; Draw White Frame
Box (0,0,145,340,RGB(255,255,255))
StopDrawing()
endif
;
;
CopyImage(0,1)
;
;
StartDrawing(WindowOutput())
DrawImage(UseImage(0), 0, 0)
StopDrawing()
;
;
;
; Drawing the copied image 1
; Is not at the same x,y position
StartDrawing(WindowOutput())
DrawImage(UseImage(1), 0, 0)
StopDrawing()
Using Windows 98 SE
Registered PB version : 3.2 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
Edited by - cor on 25 June 2002 22:15:17