LibreOffice Module vcl (master) 1
|
#include <image.hxx>
Public Member Functions | |
Image () | |
Image (BitmapEx const &rBitmapEx) | |
Image (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic) | |
Image (OUString const &rPNGFileUrl) | |
Image (StockImage, OUString const &rPNGFilePath) | |
Size | GetSizePixel () const |
BitmapEx | GetBitmapEx () const |
bool | operator! () const |
bool | operator== (const Image &rImage) const |
bool | operator!= (const Image &rImage) const |
OUString | GetStock () const |
void | Draw (OutputDevice *pOutDev, const Point &rPos, DrawImageFlags nStyle, const Size *pSize=nullptr) |
Private Member Functions | |
SAL_DLLPRIVATE void | ImplInit (BitmapEx const &rBmpEx) |
Private Attributes | |
std::shared_ptr< ImplImage > | mpImplData |
Friends | |
class | ::OutputDevice |
|
explicit |
Definition at line 36 of file Image.cxx.
References ImplInit().
|
explicit |
|
explicit |
Definition at line 57 of file Image.cxx.
References ERRCODE_NONE, Graphic::GetBitmapEx(), IMP_PNG, ImplInit(), GraphicFilter::LoadGraphic(), and mpImplData.
|
explicit |
Definition at line 70 of file Image.cxx.
References make_shared().
void Image::Draw | ( | OutputDevice * | pOutDev, |
const Point & | rPos, | ||
DrawImageFlags | nStyle, | ||
const Size * | pSize = nullptr |
||
) |
Definition at line 118 of file Image.cxx.
References Bitmap::Adjust(), ColorTransform, Deactive, Disable, OutputDevice::DrawBitmapEx(), BitmapFilter::Filter(), BitmapEx::GetAlphaMask(), AlphaMask::GetBitmap(), BitmapEx::GetBitmap(), OutputDevice::GetConnectMetaFile(), StyleSettings::GetDeactiveColor(), OutputDevice::GetGraphics(), StyleSettings::GetHighlightColor(), OutputDevice::GetSettings(), BitmapEx::GetSizePixel(), AllSettings::GetStyleSettings(), Highlight, BitmapEx::IsAlpha(), OutputDevice::IsDeviceOutputNecessary(), mpImplData, OutputDevice::PixelToLogic(), and SemiTransparent.
Referenced by OutputDevice::DrawImage().
BitmapEx Image::GetBitmapEx | ( | ) | const |
Definition at line 96 of file Image.cxx.
References mpImplData.
Referenced by ToolBox::DumpAsPropertyTree(), RadioButton::DumpAsPropertyTree(), FixedImage::DumpAsPropertyTree(), extractPngString(), ImplMirrorImage(), ImplRotImage(), and DecoToolBox::SetImages().
Size Image::GetSizePixel | ( | ) | const |
Definition at line 88 of file Image.cxx.
References mpImplData.
Referenced by SvTreeListBox::AdjustEntryHeight(), PushButton::CalcMinimumSize(), RadioButton::CalcMinimumSize(), ImplWin::DrawEntry(), ImplListBoxWindow::DrawEntry(), SvImpLBox::DrawNet(), FixedImage::GetOptimalSize(), SvTreeListBox::ImpEntryInserted(), FixedImage::ImplDraw(), RadioButton::ImplDraw(), DisclosureButton::ImplDrawCheckBoxState(), TabControl::ImplDrawItem(), ToolBox::ImplDrawItem(), ImplDrawMoreIndicator(), RadioButton::ImplDrawRadioButton(), RadioButton::ImplDrawRadioButtonState(), CheckBox::ImplGetCheckImageSize(), TabControl::ImplGetItemSize(), RadioButton::ImplGetRadioImageSize(), Menu::ImplPaint(), TabControl::ImplShowFocus(), ImplListBoxWindow::ImplUpdateEntryMetrics(), SvTreeListBox::ModelNotification(), BubbleWindow::Paint(), SvTreeListBox::PaintEntry1(), SvTreeListBox::SetCollapsedEntryBmp(), SvTreeListBox::SetDefaultCollapsedEntryBmp(), SvTreeListBox::SetDefaultExpandedEntryBmp(), SvTreeListBox::SetExpandedEntryBmp(), DecoToolBox::SetImages(), ToolBox::SetItemImage(), SvImpLBox::SetNodeBmpTabDistance(), SvImpLBox::SetNodeBmpWidth(), SvTreeListBox::SetTabs(), BubbleWindow::Show(), SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry(), and VclBuilder::VclBuilder().
OUString Image::GetStock | ( | ) | const |
Definition at line 81 of file Image.cxx.
References mpImplData.
Referenced by Graphic::Graphic(), lcl_DumpEntryAndSiblings(), and VclBuilder::VclBuilder().
|
private |
Definition at line 75 of file Image.cxx.
References BitmapEx::IsEmpty(), and mpImplData.
Referenced by Image().
|
inline |
Definition at line 57 of file image.hxx.
References operator==().
bool Image::operator== | ( | const Image & | rImage | ) | const |
|
friend |
|
private |
Definition at line 68 of file image.hxx.
Referenced by Draw(), GetBitmapEx(), GetSizePixel(), GetStock(), Image(), ImplInit(), and operator==().