public void Rotate(float angle) { Debug.Assert(Bmp != null); if (float.IsNaN(angle)) { return; } Bitmap bmp = Bmp.Rotate(angle); if (bmp != null) { Bmp.DisposeSf(); Bmp = bmp; } }
public void Rotate(float angle) { Debug.Assert(Bmp != null); if (float.IsNaN(angle)) { return; } Bitmap bmp = Bmp.Rotate(angle); if (bmp != null) { Bmp.DisposeSf(); Bmp = bmp; } }