HasMatrix
TheHasMatrixmethod returns a Boolean value that indicates whether this transform uses a matrix to describe its transformation.
ODBoolean HasMatrix ();
- return value
kODTrueif the transform object uses a matrix, otherwisekODFalse.DISCUSSION
Every object of theODTransformclass uses a matrix; hence this method returns true. However, if you use transforms of the classODTransformand you have also created a subclass ofODTransformthat applies complex transformation effects that cannot be represented by matrices, you can call this method to test whether a particular transform belongs to a class that uses a transform matrix.OVERRIDING
If you subclassODTransformto create a nonlinear transform class, you must override this method. Your override method must not call its inherited method. Instead, it should returnkODFalse.SEE ALSO
"Custom Transform Objects" on page 450 in OpenDoc Programmer's Guide.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help