- Define a drawing area using Cairo.
- Add 3 mouse event handlers: mouse-press, mouse-release and mouse-movement.
- Because of the above event handlers, the app can recognize mouse clicking, dragging and moving.
- Get the dimensions of a drawing area.
- Redraw graphics upon resizing the window.
No comments:
Post a Comment