paul taney wrote: > I"ve printed out all the demos and looked it over. (212 pages > at 8 points.) Well, I dont see how to load an image. This is > all you"ve got on wx.Images afaict. > > def SaveAsImage(self, filename, ImageType=wx.BITMAP_TYPE_PNG): > self._Buffer.SaveFile(filename, ImageType)
What you want is a ScaledBitmap object: Canvas.AddScaledBitmap(Bitmap, XY, Height, Position = 'tl') Bitmap can be either a wx.Bitmap or a wx.Image. There are examples in Map.py and MovingElements.py If you don't ahve those, you need a newer version, I'd get SVn head from the wx SVN server. > BTW, does this seem a reasonable set of relations? > They are all HAS A... > metadata > | > | > --------- notebook ---------- > notebook / / \ \ > pages: / / \ \ > draw_frame / \ help_panel > | / \ > | filter_panel metadata_panel > o > has a canvas I don't know what you're doing, but it looks reasonable to me from the names. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
