Ejemplo n.º 1
0
        public static Bitmap L(e2 e, Rectangle rectangle)
        {
            if (rectangle.Width <= 0 || rectangle.Height <= 0)
            {
                return(null);
            }
            Bitmap bitmap = new Bitmap(rectangle.Width, rectangle.Height);
            Matrix matrix = new Matrix();
            float  num    = e.J();

            matrix.Translate((float)(e.AutoScrollPosition.X - rectangle.X), (float)(e.AutoScrollPosition.Y - rectangle.Y));
            matrix.Scale(num, num);
            Graphics graphics = Graphics.FromImage(bitmap);

            graphics.Transform = matrix;
            B1 b = e.A().G(e, graphics, a1.Clip, true);

            b.A().SetClip(e.l(rectangle));
            e.L(b);
            return(bitmap);
        }