diff options
author | ericb <ericb@ordinateur-de-eric-b-2.local> | 2010-01-07 10:16:57 +0100 |
---|---|---|
committer | ericb <ericb@ordinateur-de-eric-b-2.local> | 2010-01-07 10:16:57 +0100 |
commit | 74d69666a871202c0073d4fe23982c7cea063276 (patch) | |
tree | d3e777aa609cad7819a6c2b2efab984ba76bda92 /cppcanvas | |
parent | 51df7ffd3ff8107524ab2b238196a3ff91e7ad77 (diff) |
eraser01: #i103174# fix missing changes due to rebase from external repository
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/inc/cppcanvas/color.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cppcanvas/inc/cppcanvas/color.hxx b/cppcanvas/inc/cppcanvas/color.hxx index e1cb30900e5e..ad0430713ead 100644 --- a/cppcanvas/inc/cppcanvas/color.hxx +++ b/cppcanvas/inc/cppcanvas/color.hxx @@ -83,6 +83,11 @@ namespace cppcanvas return (nRed << 24U)|(nGreen << 16U)|(nBlue << 8U)|(nAlpha); } + inline sal_Int32 unMakeColor( sal_uInt8 nAlpha, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) + { + return (nAlpha << 24U)|(nRed << 16U)|(nGreen << 8U)|(nBlue); + } + inline sal_Int32 makeColorARGB( sal_uInt8 nAlpha, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) { return (nAlpha << 24U)|(nRed << 16U)|(nGreen << 8U)|(nBlue); |