Commit 38d0b35
committed
cairo backends do not support blitting; mark them as such.
Trying to run a blitting animation example on gtk3cairo currently fails
with
AttributeError: 'FigureCanvasGTK3Cairo' object has no attribute 'copy_from_bbox'
While blitting can be made to work for e.g. qt5cairo, it cannot be for
gtk3cairo which relies on gtk's windowing code to handle us a cairo
context to directly draw on when a draw event occurs: the animation
blitting code fundamentally assumes that it can modify the underlying
buffer whenever it wants and that the windowing system simply displayes
that buffer at each draw event.1 parent 64874e5 commit 38d0b35
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
| 454 | + | |
453 | 455 | | |
454 | 456 | | |
455 | 457 | | |
| |||
0 commit comments