FT_RoundFix() private method

private FT_RoundFix ( IntPtr a ) : IntPtr
a System.IntPtr
return System.IntPtr
Esempio n. 1
0
 public static Fixed16Dot16 RoundFix(Fixed16Dot16 a)
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_RoundFix((IntPtr)a.Value)));
 }
Esempio n. 2
0
 /// <summary>
 /// A very simple function used to round a 16.16 fixed number.
 /// </summary>
 /// <remarks>This is a native FreeType function.</remarks>
 /// <returns>The result of ‘(a + 0x8000) &amp; -0x10000’.</returns>
 public Fixed16Dot16 RoundFix()
 {
     return(FromRawValue((int)FT.FT_RoundFix((IntPtr)this.Value)));
 }