Fig Application clipping area

and shapes, etc. Objects within the clipping area are drawn, and those outside this area are removed or clipped from the scene. The clipping area is mapped onto a physical region in the computer display by mapping the application boundaries to the physical pixel boundaries of the window.

If the clipping area defined matches the (physical) resolution of the window, then each call to draw an (x,y) point (with integer values) in the world coordinate system will have a one-to-one mapping with a corresponding pixel in the physical coordinate system.

For most applications, the clipping area does not match the physical size of the window. In this case, the graphics package needs to perform a transformation

Window area 320 by 240 pixels

Clipping area: 320 by 240 units (world coordinates)

Clipping area: 320 by 240 units (world coordinates)

0 0

Post a comment

  • Receive news updates via email from this site