internal static extern GFL_ERROR gflSaveBitmap(string filename, GFL_BITMAP bitmap, ref GFL_SAVE_PARAMS sparams);
internal static extern GFL_ERROR gflRotateFine(GFL_BITMAP src, ref GFL_BITMAP dst, double angle,ref GFL_COLOR bgColor);
internal static extern void gflFreeBitmap(GFL_BITMAP bitmap);
internal static extern GFL_ERROR gflLoadBitmap(string filename, out GFL_BITMAP bitmap, ref GFL_LOAD_PARAMS param,out GFL_FILE_INFORMATION informations);
private void RefreshStruct() { m_gfl_bitmap_struct = (GFL_BITMAP)Marshal.PtrToStructure(m_gfl_bitmap, typeof(GFL_BITMAP)); if (m_gfl_bitmap_struct.ColorMap != IntPtr.Zero) m_colorMap = (GFL_COLORMAP)Marshal.PtrToStructure(m_gfl_bitmap_struct.ColorMap, typeof(GFL_COLORMAP)); }