summaryrefslogtreecommitdiff
path: root/include/basegfx/pixel
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-02 14:21:30 +0200
committerNoel Grandin <noel@peralex.com>2015-07-03 14:16:32 +0200
commit3b32c5898ff4e744d3f18b00421b433500426d74 (patch)
tree3b9c9ab876551b1ebf3ee27de53d0e85c0a0dbea /include/basegfx/pixel
parent025952f52767fb3508a6725468fe4b1e6ce4c9b1 (diff)
loplugin:unusedmethods sax,shell,stoc,basegfx
Change-Id: Ia5d63f7153e4b02acc5e206739316264d6d1184e
Diffstat (limited to 'include/basegfx/pixel')
-rw-r--r--include/basegfx/pixel/bpixel.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/basegfx/pixel/bpixel.hxx b/include/basegfx/pixel/bpixel.hxx
index cf5c7a33df46..fda6a798d71e 100644
--- a/include/basegfx/pixel/bpixel.hxx
+++ b/include/basegfx/pixel/bpixel.hxx
@@ -95,21 +95,16 @@ namespace basegfx
sal_uInt8 getGreen() const { return maPixelUnion.maRGBO.mnG; }
sal_uInt8 getBlue() const { return maPixelUnion.maRGBO.mnB; }
sal_uInt8 getOpacity() const { return maPixelUnion.maRGBO.mnO; }
- sal_uInt32 getRedGreenBlueOpacity() const { return maPixelUnion.maCombinedRGBO.mnValue; }
// data access write
void setRed(sal_uInt8 nNew) { maPixelUnion.maRGBO.mnR = nNew; }
void setGreen(sal_uInt8 nNew) { maPixelUnion.maRGBO.mnG = nNew; }
void setBlue(sal_uInt8 nNew) { maPixelUnion.maRGBO.mnB = nNew; }
void setOpacity(sal_uInt8 nNew) { maPixelUnion.maRGBO.mnO = nNew; }
- void setRedGreenBlueOpacity(sal_uInt32 nRedGreenBlueOpacity) { maPixelUnion.maCombinedRGBO.mnValue = nRedGreenBlueOpacity; }
- void setRedGreenBlue(sal_uInt8 nR, sal_uInt8 nG, sal_uInt8 nB) { maPixelUnion.maRGBO.mnR = nR; maPixelUnion.maRGBO.mnG = nG; maPixelUnion.maRGBO.mnB = nB; }
// comparators
bool isInvisible() const { return (0 == maPixelUnion.maRGBO.mnO); }
bool isVisible() const { return (0 != maPixelUnion.maRGBO.mnO); }
- bool isEmpty() const { return isInvisible(); }
- bool isUsed() const { return isVisible(); }
bool operator==( const BPixel& rPixel ) const
{