PTLib
Version 2.18.8
|
Go to the source code of this file.
Classes | |
class | PColourPair |
This class contains a pair of colour formats for conversion. More... | |
class | PColourConverter |
This class defines a means to convert an image from one colour format to another. More... | |
Macros | |
#define | PCOLOUR_CONVERTER2(cls, ancestor, srcFmt, dstFmt) |
Declare a colour converter class with Convert() function. More... | |
#define | PCOLOUR_CONVERTER(cls, src, dst) PCOLOUR_CONVERTER2(cls,PColourConverter,src,dst) |
Declare a colour converter class with Convert() function. More... | |
Typedefs | |
typedef PFactory < PColourConverter, PColourPair > | PColourConverterFactory |
#define PCOLOUR_CONVERTER | ( | cls, | |
src, | |||
dst | |||
) | PCOLOUR_CONVERTER2(cls,PColourConverter,src,dst) |
Declare a colour converter class with Convert() function.
This should only be used once and at the global scope level for each converter. It declares everything needs so only the body of the Convert() function need be added.
#define PCOLOUR_CONVERTER2 | ( | cls, | |
ancestor, | |||
srcFmt, | |||
dstFmt | |||
) |
Declare a colour converter class with Convert() function.
This should only be used once and at the global scope level for each converter. It declares everything needs so only the body of the Convert() function need be added.