PTLib
Version 2.14.3
|
Go to the source code of this file.
Classes | |
class | PColourConverterRegistration |
This class registers a colour conversion class. More... | |
class | PColourConverter |
This class defines a means to convert an image from one colour format to another. More... | |
class | PSynonymColour |
Define synonym colour format converter. More... | |
class | PSynonymColourRegistration |
Define synonym colour format registration. 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... | |
#define | PSYNONYM_COLOUR_CONVERTER(from, to) static PSynonymColourRegistration p_##from##_##to##_registration_instance(#from,#to) |
Define synonym colour format. More... | |
#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.
#define PSYNONYM_COLOUR_CONVERTER | ( | from, | |
to | |||
) | static PSynonymColourRegistration p_##from##_##to##_registration_instance(#from,#to) |
Define synonym colour format.
This is a class that defines for which no conversion is required between the specified colour format names.