Implemented buildLayoutXform.
Stubbed calcFlip for FlowDirection.