FT_Cos() private method

private FT_Cos ( IntPtr angle ) : IntPtr
angle System.IntPtr
return System.IntPtr
Example #1
0
 public static Fixed16Dot16 Cos(Fixed16Dot16 angle)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Cos((IntPtr)angle.Value)));
 }
Example #2
0
 /// <summary>
 /// Return the cosinus of a given angle in fixed point format.
 /// </summary>
 /// <remarks><para>
 /// NOTE: This is a native FreeType function.
 /// </para><para>
 /// If you need both the sinus and cosinus for a given angle, use the function <see cref="FTVector.Unit"/>.
 /// </para></remarks>
 /// <returns>The cosinus value.</returns>
 public Fixed16Dot16 Cos()
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Cos((IntPtr)this.Value)));
 }