CSci 480 Lecture Notes

Week Two, (Fall) Wednesday; (Summer) Tuesday: Interactions, Features, and Limitations

2.2 Basic Interaction Handling

Human Factors

Guidelines:

Logical Input Devices

A "logical" input device is an abastraction that shields the application (programmer) from the details of the physical devices.

Sampling vs Event-Driven Processing

Pick Correlation

Which object receives the "click" event? A boolean function (predicate) determines whether a point lies in a given rectangle.

2.3 Raster Graphics Features

Canvases

Canvases are off-screen images in memory.

Clipping Rectangles

A sub-region of a canvas: primitives outside a clipping rectangle are not drawn.

SRGP_copyPixel

Often called a bitBlt (bit block transfer).

Write Mode or RasterOp

2.4 Limitations of SRGP

Image scaling: easy to shrink, hard to enlarge.


This page established September 9, 1998; last updated September 12, 1999.