Exemplo n.º 1
0
 /// <summary>
 /// Creates an angle in radians from an angle in degrees.
 /// </summary>
 /// <param name="degree">The initial value in degrees.</param>
 /// <since_tizen> 3 </since_tizen>
 public Radian(Degree degree) : this(Interop.Radian.NewRadian(Degree.getCPtr(degree)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public bool Rotate(Degree angle)
        {
            bool ret = Interop.PixelBuffer.Rotate(swigCPtr, Degree.getCPtr(angle));

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }