• The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
- https://docs.wxpython.org/wx.GCDC.html#wx-gcdc


-
- wx.Image と wx.Bitmap
--  https://maku77.github.io/python/wxpython/graphics.html
>
dc = wx.BufferedPaintDC(self, self.buffer)
>
self.buffer = wx.EmptyBitmap(w, h)


-
--  https://stackoverflow.com/questions/2504143/how-to-resize-and-draw-an-image-using-wxpython
 image = wx.ImageFromBitmap(bitmap)
 image = image.Scale(width, height, wx.IMAGE_QUALITY_HIGH)
 result = wx.BitmapFromImage(image)


Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes