SL_RotateTM2D


NAME
SL_RotateTM2D -- applies a rotation to a 2-d transformation matrix.

SYNOPSIS
SL_RotateTM2D(tm, slant, slantunits, twist, twistunits, rx, ry);
A0 D0 D1 D2 D3D4 D5

void SL_RotateTM2D(TM2DHANDLE, LONG, ULONG, LONG, ULONG, LONG, LONG);

FUNCTION
Slant is the x angle of rotation and twist is the y angle of rotation.
Positive numbers will perform counterclockwise rotations and negative
numbers will rotate clockwise.

The tm is translated by rx,ry , then rotated, and then translated
back by -rx,-ry.

INPUTS
tm - the tm to rotate.
slant - the numerator of the slant angle.
slantunits - the denominator of the slant angle.
twist - the numerator of the twist angle.
twistunits - the denominator of the twist angle.
rx - the x coord of the point to rotate about.
ry - the y coord of the point to rotate about.

SEE ALSO
SL_ApplyTM2D, SL_CloneTM2D, SL_ConcateTM2D, SL_CopyTM2D, SL_CreateTM2D, SL_DeltaApplyTM2D, SL_FreeTM2D, SL_GetTM2D, SL_InitTM2D, SL_InverseApplyTM2D, SL_InverseDeltaApplyTM2D, SL_InvertTM2D, SL_RotateTM2D, SL_ScaleTM2D, SL_SetTM2D, SL_TranslateTM2D.

 

SL_RotateTM2D  Command Section By Type  url:SL_RotateTM2D
  created:2008-03-01 23:36:37   last updated:2008-03-01 23:36:37
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_RotateTM2D
There are no user contributed comments for this page.