Example #1
0
 internal static extern GFL_ERROR gflSaveBitmap(string filename, GFL_BITMAP bitmap, ref GFL_SAVE_PARAMS sparams);
Example #2
0
 internal static extern GFL_ERROR gflRotateFine(GFL_BITMAP src, ref GFL_BITMAP dst, double angle,ref GFL_COLOR bgColor);
Example #3
0
 internal static extern void gflFreeBitmap(GFL_BITMAP bitmap);
Example #4
0
 internal static extern GFL_ERROR gflLoadBitmap(string filename, out GFL_BITMAP bitmap, 
                                               ref GFL_LOAD_PARAMS param,out GFL_FILE_INFORMATION informations);
Example #5
0
 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));
 }