Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-07-22

Build Requirements: N/A

Runtime Requirements: Carbon None

View Source Code:

Download Sample (“TranslateRotate.zip”, 30.8K)
Download Sample (“TranslateRotate.dmg”, 91.9K)


TranslateRotate does two-dimensional translation and rotations in word-size coordinates, using fixed-point math. Each routine is passed info for a transform matrix which tells the routine what to do with the fPoint argument. Each routine then does its thing on its fPoint argument, returning the new fPoint position. Requirements: None Keywords: Fixed Point, Rotation, Translation, 2D Math

Document Revision History

Date Notes
2003-07-22First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.