hi Ted,

So, I searched and found this AddOperator function in sources, and tried to
add these specific types.
try to implement the following templates:

template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, dColour b);
template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, TypedPData<dColour> *b);

additionally, i believe these will be needed to set grayscale colours:

template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, float b);
template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, TypedPData<float> *b);


best,
gabor

Reply via email to