private static unsafe extern int gvRenderData(IntPtr context, IntPtr graph, string format, out byte* result, out uint length);