- GetIdentity
- TGrafMatrix
- ~TGrafMatrix
- TransformPoint
- UntransformPoint
- TransformPoints
- TransformVector
- UntransformVector
- TransformBounds
- UntransformBounds
- ConcatWith
- TranslateBy
- ScaleBy
- RotateBy
- PreConcatWith
- PreTranslateBy
- PreScaleBy
- PreRotateBy
- SetToIdentity
- SetToTranslate
- SetToScale
- SetToRotate
- SetToPerspectiveMap
- GetMatrix
- GetRotate
- GetType
- IsIdentity
- IsTranslate
- IsAffine
- IsRectilinear
- Invert
- GetDeterminant
- Transpose
- MakeAdjoint
- Normalize
- GetElement
- SetElement
- operator=
- operator*=
- GetTimeStamp
- Hash
- operator>>=
- operator<<=
- UpdateTimeStamp
- ResetTimeStamp
- SetTimeStamp

- Takes no parameters.

- TGrafMatrix ()
- TGrafMatrix (const TGrafMatrix & matrix)
- TGrafMatrix (const GCoordinate matrix [])
- TGrafMatrix (const GCoordinate scaleX, const GCoordinate shearY, const GCoordinate perspectiveX, const GCoordinate shearX, const GCoordinate scaleY, const GCoordinate perspectiveY, const GCoordinate translateX, const GCoordinate translateY, const GCoordinate homogeneous)
- TGrafMatrix (const TGPoint & delta)
- TGrafMatrix (const TGPoint & scale, const TGPoint & centerOfScale)
- TGrafMatrix (const GDegrees & angle, const TGPoint & centerOfRotate)
- TGrafMatrix (const TGQuadrilateral & fromQuadrilateral, const TGQuadrilateral & toQuadrilateral)

- Default constructor.
- Copy constructor.
- Creates a matrix from an array of matrix elements.
- Creates a matrix from a set of matrix elements.
- Creates a translation matrix.
- Creates a matrix that scales around the specified point.
- Creates a matrix that rotates around the specified point.
- Creates a matrix from the perspective mapping of the first parameter to the second one.

- Called by the stream-in operators. You can also call this function directly.
- Called to copy an object. You can also call this function directly.
- Call this function directly.
- Call this function directly.
- Call this function directly.
- Call this function directly.
- Call this function directly.
- Call this function directly.

- Takes no parameters.
- const TGrafMatrix & matrix -The matrix to be copied.
- const GCoordinate matrix [] -The nine-element array to be converted into a matrix.
- const GCoordinate scaleX -The scaling factor for the x-coordinate.
- const GCoordinate shearY -The shearing factor for the y-coordinate.
- const GCoordinate perspectiveX -The perspective factor for the x-coordinate.
- const GCoordinate shearX -The shearing factor for the x-coordinate.
- const GCoordinate scaleY -The scaling factor for the y-coordinate.
- const GCoordinate perspectiveY -The perspective factor for the y-coordinate.
- const GCoordinate translateX -The translation factor for the x-coordinate.
- const GCoordinate translateY -The translation factor for the y-coordinate.
- const GCoordinate homogeneous -The homogeneous factor for the matrix.
- const TGPoint & delta -The point that the matrix is to be translated to.
- const TGPoint & scale -The scaling factor. If the scale is greater than 1, the graphic is enlarged, if the factor is between 0 and 1, it is reduced, and if less than 0, it is mirrored.
- const TGPoint & centerOfScale -The center point for the scaling operation.
- const GDegrees & angle -The degree to rotate the graphic by.
- const TGPoint & centerOfRotate -The center point for the rotation operation.
- const TGQuadrilateral & fromQuadrilateral -The quadrilateral that represents the graphic before transformation.
- const TGQuadrilateral & toQuadrilateral -The quadrilateral that represents the graphic after transformation.

- Throws no exceptions, passes all exceptions through.
- Throws no exceptions, passes all exceptions through.
- Throws no exceptions, passes all exceptions through.
- Throws no exceptions, passes all exceptions through.
- Throws no exceptions, passes all exceptions through.
- Throws no exceptions, passes all exceptions through.
- Throws no exceptions, passes all exceptions through.
- Throws a kSingularTransform TTransformException exception if either of the quadrilaterals is degenerate.

- Takes no parameters.

- virtual TGRPoint TransformPoint (const TGRPoint & source) const
- virtual TGPoint TransformPoint (const TGPoint & source) const

- Transforms a rational point to another rational point.
- Transforms a point to another point.

- Call this function directly.
- Call this function directly.

- const TGRPoint & source -The rational point to be transformed.
- const TGPoint & source -The point to be transformed.

- virtual TGRPoint UntransformPoint (const TGRPoint & source) const
- virtual TGPoint UntransformPoint (const TGPoint & source) const

- Passes a rational point backwards through this transformation matrix. If the transform is not invertible, it raises a kSingularTransform TTransformException.
- Passes a point backwards through this transformation matrix. If the transform is not invertible, it raises a kSingularTransform TTransformException.

- Call this function directly.
- Call this function directly.

- const TGRPoint & source -The rational point to untransform.
- const TGPoint & source -The point to untransform.

- virtual void TransformPoints (const TGRPoint points [], TGRPoint transformPoints [], unsigned long count =1) const
- virtual void TransformPoints (TGRPointArray & points) const
- virtual void TransformPoints (const TGPoint points [], TGPoint transformPoints [], unsigned long count =1) const
- virtual void TransformPoints (TGPointArray & points) const

- Transforms the first array of rational points efficiently. Returns the transformed points in the second parameter.
- Transforms the specified array of rational points.
- Transform an array of points efficiently. Returns the transformed points in the second parameter.
- Transforms the specified array of points.

- Call this function directly.
- Call this function directly.
- Call this function directly.
- Call this function directly.

- const TGRPoint points [] -The source array of rational points.
- TGRPoint transformPoints [] -The destination array of rational points. The destination array can be the same as the array of source points. You must allocate the array before you make the call.
- unsigned long count =1 -The number of points in the array.
- TGRPointArray & points -The array of rational points to be transformed and returned.
- const TGPoint points [] -The source array of points.
- TGRPoint transformPoints [] -The destination array of points. The destination array can be the same as the array of source points. You must allocate the array before you make the call.
- unsigned long count =1 -The number of points in the array.
- TGPointArray & points -The array of points to be transformed and returned.

- const TGPoint & source -The vector to transform.

- const TGPoint & source -The vector to transform.

- const TGRect & r -The rectangle to be transformed.

- const TGRect & r -The rectangle to be untransformed.

- const TGrafMatrix & matrix -The matrix to be concatenated to this one.

- const TGPoint & delta -The translation amount.

- const TGPoint & scale -The scaling factor.
- const TGPoint & centerOfScale =TGPoint :: kOrigin -The center point of the scaling transformation.

- GDegrees degrees -The degrees of the rotation.
- const TGPoint & centerOfRotate =TGPoint :: kOrigin -The center point of the rotation transformation.

- const TGrafMatrix & matrix -The other matrix.

- const TGPoint & delta -The translation factor.

- const TGPoint & scale -The scaling factor.
- const TGPoint & centerOfScale =TGPoint :: kOrigin -The center of the scaling transformation.

- GDegrees degrees -The degrees of the rotation.
- const TGPoint & centerOfRotate =TGPoint :: kOrigin -The center of the rotation transformation.

- Takes no parameters.

- const TGPoint & delta -The new location.

- const TGPoint & scale -The scaling factor.
- const TGPoint & centerOfScale =TGPoint :: kOrigin -The center of the scaling transformation.

- GDegrees degrees -The rotation angle in degrees.
- const TGPoint & centerOfRotate =TGPoint :: kOrigin -The center of the rotation transformation.

- const TGQuadrilateral & fromQuadrilateral -The source quadrilateral.
- const TGQuadrilateral & toQuadrilateral -The destination quadrilateral.

- GCoordinate matrix [] -The array for the elements of the matrix.

- GDegrees & degrees -The degrees of rotation of the matrix.
- TGPoint & centerOfRotate -The center of the rotation.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- Takes no parameters.

- EMatrixIndex -The index of the particular element.

- EMatrixIndex -The index of the particular element.
- GCoordinate element -The new value for the element.

- const TGrafMatrix & source -The object to be copied.

- const TGrafMatrix & matrix -The matrix to be concatenated with this one.

- Takes no parameters.

- Takes no parameters.

- TStream & towhere -The stream that the object is streamed out to.

- TStream & fromwhere -The stream that the object is streamed in from.

- Takes no parameters.

- Takes no parameters.

- TPseudoTimeStamp -The new seed value.

Click the icon to mail questions or corrections about this material to Taligent personnel.

Copyright©1995 Taligent,Inc. All rights reserved.