Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trancparency in PUT?
#11
Dunno, seems they changed it around 0.12-0.13

I havent bothered to try passing an array the old way.. I always use @ now..

IIRC lillo made a post saying you had to use @, some time ago..
Reply
#12
Here you go:

http://cvs.sourceforge.net/viewcvs.py/fb...iew=markup

Shows all the ways you can use to pass image data to GET/PUT. The same methods can be used when specifying a target buffer for your gfx primitives...
ngelo Mottola - EC++
Reply
#13
i love it when the gods come down and talk to us ;)

[off-topic] that yin-yang sig thing is friggin kewl as[/off-topic]
Reply
#14
Quote:[off-topic] that yin-yang sig thing is friggin kewl as[/off-topic]
[dizzy]And now blocked on my computer.[/dizzy]
his sig left intentionally blank
Reply
#15
Here is how I am doing it in a little program I was messing around with (.13b). It seems to work OK:

Code:
'define the array to hold the graphic (48 x 48, 24 bit)
dim shared sred((48 * 48 * 2) + 4) as ushort

'load the graphic into the array
bload "graphics\red.bmp", VARPTR(sred(0))

'put the graphic to the screen
put (x,y), sred, TRANS

The transparent color is pink (255, 0, 255).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)