Example #1
0
        private Func <Tuple <int, int>, Tuple <double, double> > MakeConverter(FractalImageSettings input)
        {
            var tx = CoordinateTransformer.CreatePixelTransformer(input.PixelWidth, input.PixelHeight, input.OriginX, input.OriginY, input.LogicalWidth);

            return((pixPos) => tx.TransformToLocal(pixPos.Item1, pixPos.Item2));
        }