Degrees and radians functions.
Layer transformations.
Non-manual (native) compositing operation handles layer transformation.
Moved transformLayer function up.
Utility code for calculating a transformed layer's bounds.
Manual compositing operation handles layer transformation as well.