O'Reilly logo

Windows Graphics Programming Win32 GDI and DirectDraw® by Feng Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Coordinate Spaces and Transformation

An application keeps a data structure with all objects it wants to represent. For example, a desktop publishing application may store paragraphs of text, images, line art, page heading, page footer, etc. A garden design application stores objects representing plants, fences, sidewalks, decks, lawns, etc. This kind of data structure is called a model.

What we are interested in is a subset of the model, the geometric model, which describes objects' dimensions, location, shape, texture, color, and other properties. The dimensions and locations of objects are normally given in physical units, inches or meters, as appropriate to the domain. The shapes of objects can be described in terms of primitives, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required