Files
KioskApp/GtkSharp/Source/Libs/PangoSharp/Generated/Pango/Units.cs
2024-09-15 22:40:48 +02:00

35 lines
1.1 KiB
C#

// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Pango {
using System;
using System.Runtime.InteropServices;
#region Autogenerated code
public partial class Units {
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int d_pango_units_from_double(double d);
static d_pango_units_from_double pango_units_from_double = FuncLoader.LoadFunction<d_pango_units_from_double>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_units_from_double"));
public static int FromDouble(double d) {
int raw_ret = pango_units_from_double(d);
int ret = raw_ret;
return ret;
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate double d_pango_units_to_double(int i);
static d_pango_units_to_double pango_units_to_double = FuncLoader.LoadFunction<d_pango_units_to_double>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_units_to_double"));
public static double ToDouble(int i) {
double raw_ret = pango_units_to_double(i);
double ret = raw_ret;
return ret;
}
#endregion
}
}