PWLib
1.10.10
|
#include <vconvert.h>
Public Member Functions | |
PColourConverterRegistration (const PString &srcColourFormat, const PString &destColourFormat) | |
virtual PColourConverter * | Create (unsigned width, unsigned height) const =0 |
Protected Attributes | |
PColourConverterRegistration * | link |
Friends | |
class | PColourConverter |
This class registers a colour conversion class. There should be one and one only instance of this class for each pair of srcColurFormat and dstColourFormat strings. Use the PCOLOUR_CONVERTER_REGISTRATION macro to do this.
PColourConverterRegistration::PColourConverterRegistration | ( | const PString & | srcColourFormat, |
const PString & | destColourFormat | ||
) |
srcColourFormat | Name of source colour format |
destColourFormat | Name of destination colour format |
virtual PColourConverter* PColourConverterRegistration::Create | ( | unsigned | width, |
unsigned | height | ||
) | const [pure virtual] |
width | Width of frame |
height | Height of frame |
Implemented in PSynonymColourRegistration.
friend class PColourConverter [friend] |