TRACE.C File Reference

Go to the source code of this file.

Defines

#define DESELECTED   0
#define SELECTED   1
#define FI_DIB   0
#define FI_GIF   1
#define FI_TGA   2
#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 NMENUHELPDATA   12

Typedefs

typedef struct tagMENUHELPDATA MENUHELPDATA

Functions

short read_gif_image (char *, short)
int out_line (unsigned char *linepixels, int linelen)
BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
BOOL _TraceOutline (HWND parent_window, HWND info_window, char *filename, X__STRUCTURE *lpX__in)

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


Define Documentation

#define DESELECTED   0

Definition at line 30 of file TRACE.C.

#define SELECTED   1

Definition at line 31 of file TRACE.C.

#define FI_DIB   0

Definition at line 33 of file TRACE.C.

#define FI_GIF   1

Definition at line 34 of file TRACE.C.

#define FI_TGA   2

Definition at line 35 of file TRACE.C.

#define PALVERSION   0x300

Definition at line 37 of file TRACE.C.

#define MAXPALETTE   256

Definition at line 38 of file TRACE.C.

#define MAXTEXT   256

Definition at line 39 of file TRACE.C.

#define BOUND ( x,
min,
max   )     ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x)))

Definition at line 53 of file TRACE.C.

#define SWAP ( x,
y   )     ((x)^=(y)^=(x)^=(y))

Definition at line 54 of file TRACE.C.

#define MIN ( x,
y   )     (((x) <= (y)) : x ? y)

Definition at line 55 of file TRACE.C.

 
#define StartWait (  )     hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT))

Definition at line 56 of file TRACE.C.

 
#define EndWait (  )     SetCursor(hcurSave)

Definition at line 57 of file TRACE.C.

#define ISDIB ( bft   )     ((bft) == BFT_BITMAP)

Definition at line 59 of file TRACE.C.

#define ALIGNULONG (  )     ((i+3)/4*4)

Definition at line 61 of file TRACE.C.

#define WIDTHBYTES (  )     ((i+31)/32*4)

Definition at line 63 of file TRACE.C.

#define NMENUHELPDATA   12

Definition at line 80 of file TRACE.C.


Typedef Documentation

typedef struct tagMENUHELPDATA MENUHELPDATA


Function Documentation

short read_gif_image ( char *  ,
short   
)

int out_line ( unsigned char *  linepixels,
int  linelen 
)

Definition at line 487 of file TRACE.C.

References y_size.

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

Definition at line 947 of file TRACE.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, hThisInstance, and TRUE.

BOOL _TraceOutline ( HWND  parent_window,
HWND  info_window,
char *  filename,
X__STRUCTURE lpX__in 
)

Definition at line 972 of file TRACE.C.

References Viewer().


Variable Documentation

unsigned char p_red[]

Definition at line 76 of file GIF.C.

unsigned char p_green[]

Definition at line 76 of file GIF.C.

unsigned char p_blue[]

Definition at line 76 of file GIF.C.

Definition at line 75 of file GIF.C.

int x_size

Definition at line 75 of file GIF.C.

int y_size

Definition at line 75 of file GIF.C.

int gif_iLace

Definition at line 75 of file GIF.C.


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