diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2006-03-13 02:00:19 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2006-03-13 02:00:19 +0000 |
| commit | 145a88d90cca4f070f21a3433e94ce2cc222309c (patch) | |
| tree | 83572bd47d147492216f0fdfffd9f76ed7b8d7e3 | |
| parent | operator!=: new. (Calls existing operator==.) (diff) | |
| download | inkscape-145a88d90cca4f070f21a3433e94ce2cc222309c.tar.gz inkscape-145a88d90cca4f070f21a3433e94ce2cc222309c.zip | |
Remove unused methods getInverse(). (One of these appears to be buggy anyway.)
(bzr r224)
| -rw-r--r-- | src/color-rgba.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/color-rgba.h b/src/color-rgba.h index 18c8b14e9..59a15f3c0 100644 --- a/src/color-rgba.h +++ b/src/color-rgba.h @@ -145,25 +145,7 @@ public: return ColorRGBA(returnval[0], returnval[1], returnval[2], returnval[3]); } - /** - \brief Create a ColorRGBA with the inverse color of the current ColorRGBA - - do 1 minus each color components (but not the alpha) and put it into \c _c. - */ - ColorRGBA getInverse() const { - return ColorRGBA( (1.0 - _c[0]), (1.0 - _c[1]), (1.0 - _c[2]), _c[3] ); - } - - /** - \brief Create a ColorRGBA with the inverse color of a given ColorRGBA - - do 1 minus each color components (but not the alpha) and put it into \c _c. - */ - ColorRGBA getInverse(const ColorRGBA ref) const { - return getInverse(ref); - } - - /** + /** \brief Give the rgba32 "unsigned int" representation of the color round each components*255 and combine them (RRGGBBAA). |
