Beispiel #1
0
        public void Apply(IPresentationImage image)
        {
            IImageSpatialTransform transform = (IImageSpatialTransform)_operation.GetOriginator(image);

            transform.Scale        = 1.0f;
            transform.TranslationX = 0.0f;
            transform.TranslationY = 0.0f;
            transform.FlipY        = false;
            transform.FlipX        = false;
            transform.RotationXY   = 0;
            transform.ScaleToFit   = true;
        }
Beispiel #2
0
 private IImageSpatialTransform GetSelectedImageTransform()
 {
     return(_operation.GetOriginator(this.SelectedPresentationImage) as IImageSpatialTransform);
 }