73.2.6 Shearing Graphics Output

Some applications provide features that shear objects which were drawn in the client area. If your application requires shear capabilities, you can use the SetWorldTransform function to set the appropriate values in the world-space to page-space transformation. This function receives a pointer to an XFORM data structure which contains the appropriate values. The member eM12 contains the horizontal proportionality constant and the member eM21 contains the vertical proportionality constant.

The following illustration shows a rendering of the house after it was sheared with a horizontal proportionality constant of 1:

Sheared Front-View of House