FT_Sin() private method

private FT_Sin ( IntPtr angle ) : IntPtr
angle System.IntPtr
return System.IntPtr
示例#1
0
 public static Fixed16Dot16 Sin(Fixed16Dot16 angle)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Sin((IntPtr)angle.Value)));
 }
示例#2
0
 /// <summary>
 /// Return the sinus 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 sinus value.</returns>
 public Fixed16Dot16 Sin()
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Sin((IntPtr)this.Value)));
 }