RotateImageCW() public method

public RotateImageCW ( ) : void
return void
コード例 #1
0
ファイル: ImageActions.cs プロジェクト: ywscr/Pinta
		private void HandlePintaCoreActionsImageRotateCWActivated (object sender, EventArgs e)
		{
			Document doc = PintaCore.Workspace.ActiveDocument;

			PintaCore.Tools.Commit ();
			doc.RotateImageCW ();

			doc.ResetSelectionPaths ();

			doc.History.PushNewItem (new InvertHistoryItem (InvertType.Rotate90CW));
		}