示例#1
0
文件: GflAPI.cs 项目: rossini-t/Gfl
 internal static extern GFL_ERROR gflSaveBitmap(string filename, GFL_BITMAP bitmap, ref GFL_SAVE_PARAMS sparams);
示例#2
0
文件: GflAPI.cs 项目: rossini-t/Gfl
 internal static extern GFL_ERROR gflRotateFine(GFL_BITMAP src, ref GFL_BITMAP dst, double angle,ref GFL_COLOR bgColor);
示例#3
0
文件: GflAPI.cs 项目: rossini-t/Gfl
 internal static extern void gflFreeBitmap(GFL_BITMAP bitmap);
示例#4
0
文件: GflAPI.cs 项目: rossini-t/Gfl
 internal static extern GFL_ERROR gflLoadBitmap(string filename, out GFL_BITMAP bitmap, 
                                               ref GFL_LOAD_PARAMS param,out GFL_FILE_INFORMATION informations);
示例#5
0
文件: GflImage.cs 项目: rossini-t/Gfl
 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));
 }