From: Mauro C. <mau...@ep...> - 2005-11-29 16:14:12
|
Dear All, sorry for the newbie question but I am fighting with the following =20 issue: I am trying to add some drawing on top of an existing bitmap. I tried two things: the first one was to draw directly on the image =20 setting that as the working canvas (i.e., canvas =3D =20 self.components.canvasBackground); the second was to draw on a =20 separate canvas. The first attempt raised an exception because apparently is not =20 possible to draw on bitmaps. The second attempt load the drawing =20 canvas on top of the "background" bitmap and because it is not =20 transparent it covers automatically the background. I tried to set the 'backgroundColor' to 'None' but without success =20 (it says that 'AttributeError: 'BitmapCanvas' object has no attribute =20= 'backgroundColour''). Does anybody can help me to knock my head on the right place? Thanks in advance for the pain you will generously cause Mauro _______________ Mauro Cherubini Research Associate Centre de Recherche et d'Appui pour la Formation et ses Technologies =20 (CRAFT) / Center for Research and Support of Training and its =20 Technologies Ecole Polytechnique F=E9d=E9rale de Lausanne (EPFL) / Swiss Federal =20 Institute of Technology Lausanne web: http://craft.epfl.ch -- blog: http://www.i-cherubini.it/mauro/blog/ |