User Interfaces

Back to UWaterloo



Express intention ot controller, translates to change model, view presents to person to perceive

Windowing system

Handles I/O, where output is drawing graphically. Provides "low level" input, output and window management capabilities to the OS

Design Criteria

X Client-server architecture


0,0 is top left

3 Drawing primatives: pixel, stroke and ergion

Graphics Context(GC) holds all options in a structure and is passed to the draw routine

Painter's Algorithm is a really primitve algorithm to draw more complex shapes (combine, layers)


Makes it easier to maintain code by allowing the interface (view or controller) to be easily changed. Makes for better unit testing.