TIF_MAP.C File Reference

Go to the source code of this file.

Defines

#define FAIL   0
#define OK   1

Typedefs

typedef struct SCREENBUFFER fullscreenbuffer

Functions

long ReadTIF (char *filename, short info_only)
BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
void tif_display_line (unsigned char *pbgr, long line)
BOOL _GetExternalImageSize (char *filename, long *x, long *y, unsigned char *source_buffer)
BOOL _GetExternalImage (char *filename, long x, long y, unsigned char *Red, unsigned char *Green, unsigned char *Blue, unsigned char *source_buffer)
BOOL _PutExternalImage (char *filename, long x, long y, long quality, fullscreenbuffer *image)

Variables

int x_size
int y_size
unsigned char * R
unsigned char * G
unsigned char * B


Define Documentation

#define FAIL   0

Definition at line 17 of file TIF_MAP.C.

#define OK   1

Definition at line 18 of file TIF_MAP.C.


Typedef Documentation

typedef struct SCREENBUFFER fullscreenbuffer


Function Documentation

long ReadTIF ( char *  filename,
short  info_only 
)

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 35 of file TIF_MAP.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, hThisInstance, and TRUE.

void tif_display_line ( unsigned char *  pbgr,
long  line 
)

Definition at line 48 of file TIF_MAP.C.

References B, G, R, and x_size.

BOOL _GetExternalImageSize ( char *  filename,
long *  x,
long *  y,
unsigned char *  source_buffer 
)

Definition at line 63 of file TIF_MAP.C.

References FALSE, ReadTIF(), TRUE, x_size, and y_size.

BOOL _GetExternalImage ( char *  filename,
long  x,
long  y,
unsigned char *  Red,
unsigned char *  Green,
unsigned char *  Blue,
unsigned char *  source_buffer 
)

Definition at line 74 of file TIF_MAP.C.

References B, FALSE, G, R, ReadTIF(), TRUE, x_size, and y_size.

BOOL _PutExternalImage ( char *  filename,
long  x,
long  y,
long  quality,
fullscreenbuffer image 
)

Definition at line 90 of file TIF_MAP.C.

References TRUE.


Variable Documentation

int x_size

Definition at line 14 of file TIF_MAP.C.

int y_size

Definition at line 14 of file TIF_MAP.C.

unsigned char* R

Definition at line 15 of file TIF_MAP.C.

unsigned char * G

Definition at line 15 of file TIF_MAP.C.

unsigned char * B

Definition at line 15 of file TIF_MAP.C.


Generated on Sun Apr 27 14:20:17 2014 for OpenFX by  doxygen 1.5.6