Multi layering
-
I just need to know if my approach to the problem is good or if there is a better way: Poroblem: i need to make an application that have 3 layer: 1) first layer contains a background image 2) second layer contains text that goes over image in trasparent way 3) third layer cotains vector like arrow...ellipse and similar things that goes over image and string let's say like a painting multylayer application...whis is the best way to do this?? by now i'm thinking at making 3 bitmaps, and on the paint calling i draw them in sequence one after the other. Is this the right way or there are some other way to try?? :doh: thanks in advance
-
I just need to know if my approach to the problem is good or if there is a better way: Poroblem: i need to make an application that have 3 layer: 1) first layer contains a background image 2) second layer contains text that goes over image in trasparent way 3) third layer cotains vector like arrow...ellipse and similar things that goes over image and string let's say like a painting multylayer application...whis is the best way to do this?? by now i'm thinking at making 3 bitmaps, and on the paint calling i draw them in sequence one after the other. Is this the right way or there are some other way to try?? :doh: thanks in advance
I tend to use only one canvas (I prefer a Panel for that) and paint all the objects on it, in the right order. Transparancy in GDI/GDI+ is a mess. :)
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? 59.24% waren verstandig genoeg om NEEN te stemmen; bye bye viaduct.