LibreOffice Module vcl (master) 1
|
#include <BitmapColor.hxx>
Public Member Functions | |
BitmapColor () | |
constexpr | BitmapColor (sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue) |
constexpr | BitmapColor (ColorTransparencyTag, sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue, sal_uInt8 cTransparency) |
constexpr | BitmapColor (ColorAlphaTag, sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue, sal_uInt8 cAlpha) |
BitmapColor (const Color &rColor) | |
BitmapColor (sal_uInt8 cIndex) | |
sal_uInt8 | GetIndex () const |
void | SetIndex (sal_uInt8 cIndex) |
Public Member Functions inherited from Color | |
constexpr | Color () |
constexpr | Color (const sal_uInt32 nColor) |
constexpr | Color (enum ColorTransparencyTag, sal_uInt32 nColor) |
constexpr | Color (enum ColorAlphaTag, sal_uInt32 nColor) |
constexpr | Color (enum ColorTransparencyTag, sal_uInt8 nTransparency, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) |
constexpr | Color (enum ColorAlphaTag, sal_uInt8 nAlpha, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) |
constexpr | Color (sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) |
Color (const basegfx::BColor &rBColor) | |
constexpr | operator sal_uInt32 () const |
constexpr | operator sal_Int32 () const |
sal_uInt8 | GetRed () const |
sal_uInt8 | GetGreen () const |
sal_uInt8 | GetBlue () const |
sal_uInt8 | GetAlpha () const |
bool | IsTransparent () const |
bool | IsFullyTransparent () const |
void | SetRed (sal_uInt8 nRed) |
void | SetGreen (sal_uInt8 nGreen) |
void | SetBlue (sal_uInt8 nBlue) |
void | SetAlpha (sal_uInt8 nAlpha) |
Color | GetRGBColor () const |
bool | IsRGBEqual (const Color &rColor) const |
bool | operator< (const Color &aCompareColor) const |
bool | operator> (const Color &aCompareColor) const |
bool | operator== (const Color &rColor) const |
bool | operator!= (const Color &rColor) const |
sal_uInt16 | GetColorError (const Color &rCompareColor) const |
sal_uInt8 | GetLuminance () const |
void | IncreaseLuminance (sal_uInt8 cLumInc) |
void | DecreaseLuminance (sal_uInt8 cLumDec) |
void | DecreaseContrast (sal_uInt8 cContDec) |
bool | IsDark () const |
bool | IsBright () const |
void | ApplyTintOrShade (sal_Int16 n100thPercent) |
void | ApplyLumModOff (sal_Int16 nMod, sal_Int16 nOff) |
void | Invert () |
void | Merge (const Color &rMergeColor, sal_uInt8 cTransparency) |
void | RGBtoHSB (sal_uInt16 &nHue, sal_uInt16 &nSaturation, sal_uInt16 &nBrightness) const |
OUString | AsRGBHexString () const |
OUString | AsRGBHEXString () const |
basegfx::BColor | getBColor () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Color | |
static Color | HSBtoRGB (sal_uInt16 nHue, sal_uInt16 nSaturation, sal_uInt16 nBrightness) |
static Color | STRtoRGB (std::u16string_view colorname) |
Public Attributes inherited from Color | |
sal_uInt32 | mValue |
sal_uInt8 | B |
sal_uInt8 | G |
sal_uInt8 | R |
sal_uInt8 | T |
Definition at line 26 of file BitmapColor.hxx.
|
inline |
Definition at line 41 of file BitmapColor.hxx.
Definition at line 50 of file BitmapColor.hxx.
|
constexpr |
Definition at line 55 of file BitmapColor.hxx.
References ColorTransparency.
|
constexpr |
Definition at line 60 of file BitmapColor.hxx.
References ColorAlpha.
|
inline |
Definition at line 45 of file BitmapColor.hxx.
|
inlineexplicit |
Definition at line 65 of file BitmapColor.hxx.
References SetIndex().
|
inline |
Definition at line 70 of file BitmapColor.hxx.
References Color::GetBlue().
Referenced by BitmapEx::ChangeColorAlpha(), unographic::Graphic::colorChange(), vcl::unotools::VclCanvasBitmap::convertIntegerToARGB(), vcl::unotools::VclCanvasBitmap::convertIntegerToPARGB(), vcl::unotools::VclCanvasBitmap::convertIntegerToRGB(), Bitmap::CreateAlphaMask(), Bitmap::CreateMask(), OutputDevice::EmulateDrawTransparent(), BitmapAlphaClampFilter::execute(), BitmapEmbossGreyFilter::execute(), BitmapSobelGreyFilter::execute(), BitmapEx::GetAlpha(), BitmapReadAccess::GetIndexFromData(), BitmapReadAccess::GetPixelIndex(), ImplFastEraseBitmap(), vcl::bitmap::readAlpha(), BitmapReadAccess::SetPixelForN1BitMsbPal(), BitmapReadAccess::SetPixelForN8BitPal(), and writeWebp().
|
inline |
Definition at line 75 of file BitmapColor.hxx.
References Color::SetBlue().
Referenced by BitmapEx::AdjustTransparency(), BitmapColor(), BitmapAlphaClampFilter::execute(), BitmapColorQuantizationFilter::execute(), BitmapEmbossGreyFilter::execute(), BitmapSepiaFilter::execute(), and BitmapSobelGreyFilter::execute().