FT_FloorFix() 개인적인 메소드

private FT_FloorFix ( IntPtr a ) : IntPtr
a System.IntPtr
리턴 System.IntPtr
예제 #1
0
 public static Fixed16Dot16 FloorFix(Fixed16Dot16 a)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_FloorFix((IntPtr)a.Value)));
 }
예제 #2
0
 /// <summary>
 /// A very simple function used to compute the floor function of a 16.16 fixed number.
 /// </summary>
 /// <remarks>This is a native FreeType function.</remarks>
 /// <returns>The result of ‘a &amp; -0x10000’.</returns>
 public Fixed16Dot16 FloorFix()
 {
     //TODO does the P/Invoke overhead make this slower than re-implementing in C#? Test it
     return(FromRawValue((int)FT.FT_FloorFix((IntPtr)this.Value)));
 }