Logo Search packages:      
Sourcecode: inkscape version File versions

ColorRGBA& ColorRGBA::operator= ( ColorRGBA const &  m  )  [inline]

Overwrite the values in this object with another ColorRGBA.

Parameters:
m Values to use for the array
Returns:
This ColorRGBA object
Copy all the values from m into this.

Definition at line 68 of file color-rgba.h.

References _c.

                                             {
        for (unsigned i = 0 ; i < 4 ; ++i) {
            _c[i] = m._c[i];
        }
        return *this;
    }


Generated by  Doxygen 1.6.0   Back to index