Go to the source code of this file.
Defines | |
| #define | FI_DIB 0 |
| #define | FI_GIF 1 |
| #define | FI_TGA 2 |
| #define | FI_CEL 3 |
| #define | PALVERSION 0x300 |
| #define | MAXPALETTE 256 |
| #define | MAXTEXT 256 |
| #define | BOUND(x, min, max) ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x))) |
| #define | SWAP(x, y) ((x)^=(y)^=(x)^=(y)) |
| #define | MIN(x, y) (((x) <= (y)) : x ? y) |
| #define | StartWait() hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT)) |
| #define | EndWait() SetCursor(hcurSave) |
| #define | ISDIB(bft) ((bft) == BFT_BITMAP) |
| #define | ALIGNULONG(i) ((i+3)/4*4) |
| #define | WIDTHBYTES(i) ((i+31)/32*4) |
| #define | DibNumColors(bmih) |
Functions | |
| short | read_gif_image (char *, short) |
| int | out_line (unsigned char *linepixels, int linelen) |
| BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
| LRESULT CALLBACK | AbortPrintJob (HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam) |
| BOOL CALLBACK | AbortProc (HDC hdc, int nCode) |
| BOOL | _PrintBitmap (HWND parent_window, char *filename) |
Variables | |
| unsigned char | p_red [] |
| unsigned char | p_green [] |
| unsigned char | p_blue [] |
| int | colourmap_size |
| int | x_size |
| int | y_size |
| int | gif_iLace |
| HINSTANCE | hInst = NULL |
| HPALETTE | hpalCurrent = NULL |
| HBITMAP | hbmCurrent = NULL |
| HDC | hdcCurrent = NULL |
| RGBQUAD * | pRgb = NULL |
| LPSTR | lpBitmapHeader = NULL |
| LPSTR | lpBitmapBits = NULL |
| #define FI_DIB 0 |
| #define FI_GIF 1 |
| #define FI_TGA 2 |
| #define PALVERSION 0x300 |
| #define MAXTEXT 256 |
| #define StartWait | ( | ) | hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT)) |
Definition at line 48 of file EPRINT.C.
Referenced by _PrintBitmap(), BuildMapList(), and MenuCommand().
| #define EndWait | ( | ) | SetCursor(hcurSave) |
Definition at line 49 of file EPRINT.C.
Referenced by _PrintBitmap(), BuildMapList(), and MenuCommand().
| #define DibNumColors | ( | bmih | ) |
| short read_gif_image | ( | char * | filename, | |
| short | palette_only | |||
| ) |
Definition at line 88 of file GIF.C.
References BITMAP_X_SIZE, BITMAP_Y_SIZE, colourmap_size, decoder(), decoderline, double, FALSE, get_byte(), gif_iLace, p_blue, p_green, p_red, TRUE, x_size, and y_size.
Referenced by _HeightField().
| int out_line | ( | unsigned char * | linepixels, | |
| int | linelen | |||
| ) |
| BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
| DWORD | dwReason, | |||
| LPVOID | lpReserved | |||
| ) |
Definition at line 639 of file EPRINT.C.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, hInst, and TRUE.
| LRESULT CALLBACK AbortPrintJob | ( | HWND | hwndDlg, | |
| UINT | message, | |||
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) |
| BOOL CALLBACK AbortProc | ( | HDC | hdc, | |
| int | nCode | |||
| ) |
| BOOL _PrintBitmap | ( | HWND | parent_window, | |
| char * | filename | |||
| ) |
Definition at line 699 of file EPRINT.C.
References AbortPrintJob(), AbortProc(), EndWait, FALSE, hbmCurrent, hdcCurrent, hInst, hpalCurrent, lpBitmapHeader, max, min, StartWait, and TRUE.
| unsigned char p_red[] |
| unsigned char p_green[] |
| unsigned char p_blue[] |
| int colourmap_size |
| int x_size |
Definition at line 75 of file GIF.C.
Referenced by _GetExternalImage(), _GetExternalImageSize(), _HeightField(), jpg_display_line(), MakeImageFromFile(), out_line(), png_display_line(), read_gif_image(), and tif_display_line().
| int y_size |
Definition at line 75 of file GIF.C.
Referenced by _GetExternalImage(), _GetExternalImageSize(), _HeightField(), jpg_display_line(), MakeImageFromFile(), out_line(), png_display_line(), read_gif_image(), and tif_display_line().
| int gif_iLace |
| HINSTANCE hInst = NULL |
Definition at line 37 of file EPRINT.C.
Referenced by _PrintBitmap(), DllMain(), MenuCommand(), and Viewer().
| HPALETTE hpalCurrent = NULL |
| HBITMAP hbmCurrent = NULL |
| HDC hdcCurrent = NULL |
| LPSTR lpBitmapHeader = NULL |
Definition at line 42 of file EPRINT.C.
Referenced by _BuildAvi(), _BuildAviOld(), _PrintBitmap(), and GetNextBitmapFromTemporaryFile().
| LPSTR lpBitmapBits = NULL |
Definition at line 43 of file EPRINT.C.
Referenced by _BuildAviOld(), _HeightField(), and GetNextBitmapFromTemporaryFile().
1.5.6