System.Windows.Forms.Util.FlipDrawing C# (CSharp) Méthode

FlipDrawing() public static méthode

public static FlipDrawing ( Rectangle rect ) : void
rect System.Drawing.Rectangle
Résultat void
		public static void FlipDrawing (Rectangle rect)
		{
			var ctx = NSGraphicsContext.CurrentContext.GraphicsPort;
			CGContextTranslateCTM (ctx.Handle, (float)rect.X, (float)rect.Height);
			CGContextScaleCTM (ctx.Handle, 1.0f, -1.0f);
		}
	}