LibreOffice Module vcl (master) 1
|
Functions | |
Color | GetLineColor (Color const &rColor, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings) |
Color | GetFillColor (Color const &rColor, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings) |
Color | GetHatchColor (Color const &rColor, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings) |
Color | GetTextColor (Color const &rColor, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings) |
vcl::Font | GetFont (vcl::Font const &rFont, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings) |
BitmapEx | GetBitmapEx (BitmapEx const &rBitmapEx, DrawModeFlags nDrawMode) |
VCL_DLLPUBLIC BitmapEx vcl::drawmode::GetBitmapEx | ( | BitmapEx const & | rBitmapEx, |
DrawModeFlags | nDrawMode | ||
) |
Definition at line 242 of file drawmode.cxx.
References BlackBitmap, BitmapEx::Convert(), Bitmap::Erase(), BitmapFilter::Filter(), BitmapEx::GetAlphaMask(), AlphaMask::GetBitmap(), BitmapEx::GetBitmap(), Bitmap::GetGreyPalette(), BitmapEx::GetSizePixel(), GrayBitmap, BitmapEx::Invert(), BitmapEx::IsAlpha(), BitmapEx::IsEmpty(), vcl::N8_BPP, N8BitGreys, and WhiteBitmap.
Referenced by OutputDevice::DrawBitmapEx(), Button::DumpAsPropertyTree(), GDIMetaFile::GetSizeBytes(), GraphicObject::ImplDrawTiled(), MetaBmpExAction::IsTransparent(), MetaBmpExScaleAction::IsTransparent(), MetaBmpExScalePartAction::IsTransparent(), and SalInstanceAssistant::set_page_side_image().
VCL_DLLPUBLIC Color vcl::drawmode::GetFillColor | ( | Color const & | rColor, |
DrawModeFlags | nDrawMode, | ||
StyleSettings const & | rStyleSettings | ||
) |
Definition at line 67 of file drawmode.cxx.
References BlackFill, COL_BLACK(), COL_TRANSPARENT(), COL_WHITE(), StyleSettings::GetHighlightColor(), Color::GetLuminance(), StyleSettings::GetWindowColor(), GrayFill, Color::IsTransparent(), NoFill, SettingsFill, SettingsForSelection, and WhiteFill.
Referenced by vcl::Window::ImplPaintToDevice(), and OutputDevice::SetFillColor().
VCL_DLLPUBLIC vcl::Font vcl::drawmode::GetFont | ( | vcl::Font const & | rFont, |
DrawModeFlags | nDrawMode, | ||
StyleSettings const & | rStyleSettings | ||
) |
Definition at line 171 of file drawmode.cxx.
References BlackFill, BlackText, COL_BLACK(), COL_TRANSPARENT(), COL_WHITE(), vcl::Font::GetColor(), vcl::Font::GetFillColor(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), Color::GetLuminance(), StyleSettings::GetWindowColor(), StyleSettings::GetWindowTextColor(), GrayFill, GrayText, vcl::Font::IsTransparent(), NoFill, vcl::Font::SetColor(), vcl::Font::SetFillColor(), SettingsFill, SettingsForSelection, SettingsText, WhiteFill, and WhiteText.
Referenced by OutputDevice::SetFont().
VCL_DLLPUBLIC Color vcl::drawmode::GetHatchColor | ( | Color const & | rColor, |
DrawModeFlags | nDrawMode, | ||
StyleSettings const & | rStyleSettings | ||
) |
Definition at line 108 of file drawmode.cxx.
References BlackLine, COL_BLACK(), COL_WHITE(), StyleSettings::GetHighlightColor(), Color::GetLuminance(), StyleSettings::GetWindowTextColor(), GrayLine, SettingsForSelection, SettingsLine, and WhiteLine.
Referenced by OutputDevice::DrawHatch().
VCL_DLLPUBLIC Color vcl::drawmode::GetLineColor | ( | Color const & | rColor, |
DrawModeFlags | nDrawMode, | ||
StyleSettings const & | rStyleSettings | ||
) |
Definition at line 30 of file drawmode.cxx.
References BlackLine, COL_BLACK(), COL_WHITE(), StyleSettings::GetHighlightColor(), Color::GetLuminance(), StyleSettings::GetWindowTextColor(), GrayLine, Color::IsTransparent(), SettingsForSelection, SettingsLine, and WhiteLine.
Referenced by OutputDevice::DrawPixel(), vcl::Window::ImplPaintToDevice(), and OutputDevice::SetLineColor().
VCL_DLLPUBLIC Color vcl::drawmode::GetTextColor | ( | Color const & | rColor, |
DrawModeFlags | nDrawMode, | ||
StyleSettings const & | rStyleSettings | ||
) |
Definition at line 137 of file drawmode.cxx.
References BlackText, COL_BLACK(), COL_WHITE(), StyleSettings::GetHighlightTextColor(), Color::GetLuminance(), StyleSettings::GetWindowTextColor(), GrayText, SettingsForSelection, SettingsText, and WhiteText.
Referenced by OutputDevice::SetOverlineColor(), and OutputDevice::SetTextLineColor().