- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
- Go to wxPython/Graphics.
- https://docs.wxpython.org/wx.GCDC.html#wx-gcdc
- wxPython wx.StaticBitmap に連続で画像を設定すると画面がちらつく(BufferedDC, AutoBufferedPaintDC)
-- https://symfoware.blog.fc2.com/blog-entry-2569.html
- 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)
* wx.StaticBitmap [#m9543a5d]
- File dropping onto wx.StaticBitmap no longer works for me
-- https://groups.google.com/g/wx-users/c/gIhkqbj4dq8/m/28vHCbAkAQAJ
>
works? 3.0 4.0 4.1
drop file on StaticBitmap yes yes no
right click on StaticBitmap yes yes no