public static Fixed16Dot16 FloorFix(Fixed16Dot16 a) { return(Fixed16Dot16.FromRawValue((int)FT.FT_FloorFix((IntPtr)a.Value))); }
/// <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 & -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))); }