Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用した pyGTK :cairo ライブラリを使用して、描いた線の魔女をどのように消去できますか?
cr = widget.window.cairo_create() cr.move_to(x, y) cr.line_to(x1, y1) cr.stroke()
画面に描いた後にこの線を消したい
行を削除することはできません。とにかく次の公開イベント中に消去されるため、次の公開イベントまで待ってから描画しないでください。