Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/python3.12/ImDib.h
$ cat -n /usr/include/python3.12/ImDib.h 1 /* 2 * The Python Imaging Library 3 * $Id$ 4 * 5 * Windows DIB specifics 6 * 7 * Copyright (c) Secret Labs AB 1997-98. 8 * Copyright (c) Fredrik Lundh 1996. 9 * 10 * See the README file for information on usage and redistribution. 11 */ 12 13 #ifdef _WIN32 14 15 #include "ImPlatform.h" 16 17 #if defined(__cplusplus) 18 extern "C" { 19 #endif 20 21 struct ImagingDIBInstance { 22 /* Windows interface */ 23 HDC dc; 24 HBITMAP bitmap; 25 HGDIOBJ old_bitmap; 26 BITMAPINFO *info; 27 UINT8 *bits; 28 HPALETTE palette; 29 /* Used by cut and paste */ 30 char mode[4]; 31 int xsize, ysize; 32 int pixelsize; 33 int linesize; 34 ImagingShuffler pack; 35 ImagingShuffler unpack; 36 }; 37 38 typedef struct ImagingDIBInstance *ImagingDIB; 39 40 extern char * 41 ImagingGetModeDIB(int size_out[2]); 42 43 extern ImagingDIB 44 ImagingNewDIB(const char *mode, int xsize, int ysize); 45 46 extern void 47 ImagingDeleteDIB(ImagingDIB im); 48 49 extern void 50 ImagingDrawDIB(ImagingDIB dib, void *dc, int dst[4], int src[4]); 51 extern void 52 ImagingExposeDIB(ImagingDIB dib, void *dc); 53 54 extern int 55 ImagingQueryPaletteDIB(ImagingDIB dib, void *dc); 56 57 extern void 58 ImagingPasteDIB(ImagingDIB dib, Imaging im, int xy[4]); 59 60 #if defined(__cplusplus) 61 } 62 #endif 63 64 #endif
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™