Canvas or Image Shift

BlitzMax Forums/BlitzMax Programming/Canvas or Image Shift

Does this help with the pasting ('not working', is a bit vague)...
Strict

Graphics 640, 480, 32

Local pmap1:TPixmap = LoadPixmap(getenv_("BMXPATH") + "\samples\digesteroids\graphics\digestive.png") 
Local pmap2:TPixmap = LoadPixmap(getenv_("BMXPATH") + "\samples\digesteroids\graphics\sparkle.png")

pmap1.paste(pmap2, (pmap1.width - pmap2.width) / 2, (pmap1.height - pmap2.height) / 2)

DrawPixmap pmap1, 100, 100
Flip

WaitKey()

End


??

[edit]
LOL...We posted at the same time...again! :o)
[/edit]