#797 – Scale Transforms Using Homogeneous Coordinates

You can apply a scale transform to a 2D point using a 2 x 2 transformation, multiplying it by a 2 x 1 point matrix.  This results in a second 2 x 1 point matrix that represents the transformed (scaled) point.



In WPF, however, scaling transforms are done using homogeneous coordinates, which means that we multiply a 3 x 3 transformation matrix by a 3 x 1 point matrix.



In the resulting 3 x 1 matrix, the first and second rows contain the x and y values of the transformed (scaled) point.



About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #797 – Scale Transforms Using Homogeneous Coordinates

  1. Pingback: Dew Drop – April 12, 2013 (#1,526) | Alvin Ashcraft's Morning Dew

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: