Real Software Forums
http://forums.realsoftware.com/

How to overlay an image over a background using a canvas
http://forums.realsoftware.com/viewtopic.php?f=6&t=43129
Page 1 of 1

Author:  Astral [ Mon Mar 12, 2012 1:31 pm ]
Post subject:  How to overlay an image over a background using a canvas

Greetings,

I am trying to overlay an image onto a Canvas background drawn with the Paint Event. Can anyone give some ideas?
I am new to Real Studio and just recently have started programming the graphics parts of it.


Any help is appreciated.


Regards,

Astral

Author:  classone [ Mon Mar 12, 2012 2:57 pm ]
Post subject:  Re: How to overlay an image over a background using a canvas

Don't use the backdrop property. In the paint event, first draw your background picture, then draw the items to go on top. The paint event will refresh those items in that order when needed.

Author:  Astral [ Tue Mar 13, 2012 10:39 am ]
Post subject:  Re: How to overlay an image over a background using a canvas

Thank you very much Roger,
I figure it would be something like that but did not expect to be this easy. Thank you again!


Your help is appreciated


Regards,


Astral

:D

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/