Squeak Class Documentation category index | class index  
 
IdentityTransform
  category: Graphics-Transformations
  superclass: DisplayTransform
  subclasses:

No comment. Sorry.

instance methods
  accessing
  angle
inverseTransformation
offset

  composing
  composedWith:
composedWithGlobal:
composedWithLocal:

  converting
  asMatrixTransform2x3

  initialize
  setIdentity

  testing
  isIdentity
isPureTranslation

  transforming points
  globalPointToLocal:
globalPointsToLocal:
invertBoundsRect:
localPointToGlobal:
localPointsToGlobal:

  transforming rects
  globalBoundsToLocal:
localBoundsToGlobal:
sourceQuadFor:

class methods
  class initialization
  initialize

  instance creation
  new

instance methods
  accessing top  
 

angle


 

inverseTransformation

Return the inverse transformation of the receiver


 

offset


  composing top  
 

composedWith:


 

composedWithGlobal:

Return the composition of the receiver and the global transformation passed in.
A 'global' transformation is defined as a transformation that takes place
between the receiver (the 'local') transformation and any 'global' point
computations, e.g., for the methods

globalPointToLocal: globalPoint
globalPoint -> globalTransform -> localTransform -> locaPoint

localPointToGlobal: localPoint
localPoint -> localTransform -> globalTransform -> globalPoint


 

composedWithLocal:

Return the composition of the receiver and the local transformation passed in.
A 'local' transformation is defined as a transformation that takes place
between the receiver (the 'global') transformation and any 'local' point
computations, e.g., for the methods

globalPointToLocal: globalPoint
globalPoint -> globalTransform -> localTransform -> locaPoint

localPointToGlobal: localPoint
localPoint -> localTransform -> globalTransform -> globalPoint


  converting top  
 

asMatrixTransform2x3

Represent the receiver as a 2x3 matrix transformation


  initialize top  
 

setIdentity

I *am* the identity transform


  testing top  
 

isIdentity

Return true if the receiver is the identity transform; that is, if applying to a point returns the point itself.


 

isPureTranslation

Return true if the receiver specifies no rotation or scaling.


  transforming points top  
 

globalPointToLocal:

Transform aPoint from global coordinates into local coordinates


 

globalPointsToLocal:

Transform all the points of inArray from global into local coordinates


 

invertBoundsRect:

Return a rectangle whose coordinates have been transformed
from local back to global coordinates. Since I am the identity matrix
no transformation is made.


 

localPointToGlobal:

Transform aPoint from local coordinates into global coordinates


 

localPointsToGlobal:

Transform all the points of inArray from local into global coordinates


  transforming rects top  
 

globalBoundsToLocal:

Transform aRectangle from global coordinates into local coordinates


 

localBoundsToGlobal:

Transform aRectangle from local coordinates into global coordinates


 

sourceQuadFor:


class methods
  class initialization top  
 

initialize

IdentityTransform initialize


  instance creation top  
 

new

There can be only one