- Main Page
- Modules
- Classes
- Files

# ximatif.cpp File Reference

`#include "ximatif.h"`
`#include "../tiff/tiffio.h"`

## Defines

#define | FIX_16BPP_DARKIMG
#define | CVT(x) (((x) * 255L) / ((1L<<16)-1))
#define | SCALE(x) (((x)*((1L<<16)-1))/255)
#define | CalculateLine(width, bitdepth) (((width * bitdepth) + 7) / 8)
#define | CalculatePitch(line) (line + 3 & ~3)

## Functions

TIFF * | _TIFFOpenEx (CxFile *stream, const char *mode)

## Define Documentation

#define CalculateLine | ( | width,
|  | bitdepth |  | ) | (((width * bitdepth) + 7) / 8)

#define CalculatePitch | ( | line |  | ) | (line + 3 & ~3)

#define CVT | ( | x |  | ) | (((x) * 255L) / ((1L<<16)-1))

#define FIX_16BPP_DARKIMG

#define SCALE | ( | x |  | ) | (((x)*((1L<<16)-1))/255)

## Function Documentation

TIFF* _TIFFOpenEx | ( | CxFile * | stream,
|  | const char * | mode |
| ) |  |  |