public static extern int PackFontRanges( ref PackContext spc, IntPtr fontdata, int font_index, [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 4)] PackRange[] ranges, int num_ranges);
public static extern void PackEnd(ref PackContext spc);
public static extern void PackSetOversampling( ref PackContext spc, uint h_oversample, uint v_oversample);
public static extern int PackBegin(ref PackContext spc, byte[] pixels, int width, int height, int stride_in_bytes, int padding, IntPtr alloc_context);