svgpng = cairosvg.svg2png(svgxml) svgimg = wx.ImageFromStream(StringIO.StringIO(svgpng),wx.BITMAP_TYPE_PNG) svgimg = svgimg.Scale(width, height, wx.
確定! 回上一頁