Smartmobili.Cocoa.NSView.SetFrameRotation C# (CSharp) Метод

SetFrameRotation() публичный Метод

public SetFrameRotation ( double angle ) : void
angle double
Результат void
        public virtual void SetFrameRotation(double angle)
        {
            double oldAngle = this.GetFrameRotation();

            if (oldAngle != angle)
            {
                /* no frame matrix, create one since it is needed for rotation */
                if (_frameMatrix == null)
                {
                    // Map from superview to frame
                    _frameMatrix = (NSAffineTransform)NSAffineTransform.Alloc().Init();
                }

                _frameMatrix.RotateByDegrees(angle - oldAngle);
                _is_rotated_from_base = _is_rotated_or_scaled_from_base = true;

                if (_coordinates_valid)
                {
                    //FIXME
                    //(*invalidateImp)(self, invalidateSel);
                }
                this.ResetCursorRects();
                if (_post_frame_changes)
                {
                    //[nc postNotificationName: NSViewFrameDidChangeNotification object: self];
                }
            }
        }
NSView