41Image::Image(uno::Reference<graphic::XGraphic>
const & rxGraphic)
45 const Graphic aGraphic(rxGraphic);
48 if (aGraphic.getOriginURL().startsWith(
"private:graphicrepository/", &aPath))
49 mpImplData = std::make_shared<ImplImage>(aPath);
51 mpImplData = std::make_shared<ImplImage>(aGraphic.GetGDIMetaFile());
60 if (rFileUrl.startsWith(
"private:graphicrepository/", &sImageName))
61 mpImplData = std::make_shared<ImplImage>(sImageName);
78 mpImplData = std::make_shared<ImplImage>(rBitmapEx);
159 aRenderBmp = aTempBitmapEx;
const StyleSettings & GetStyleSettings() const
Bitmap const & GetBitmap() const
const AlphaMask & GetAlphaMask() const
Bitmap GetBitmap(Color aTransparentReplaceColor) const
const Size & GetSizePixel() const
static bool Filter(BitmapEx &rBmpEx, BitmapFilter const &rFilter)
bool Adjust(short nLuminancePercent, short nContrastPercent=0, short nChannelRPercent=0, short nChannelGPercent=0, short nChannelBPercent=0, double fGamma=1.0, bool bInvert=false, bool msoBrightness=false)
Change various global color characteristics.
static ErrCode LoadGraphic(const OUString &rPath, const OUString &rFilter, Graphic &rGraphic, GraphicFilter *pFilter=nullptr, sal_uInt16 *pDeterminedFormat=nullptr)
BitmapEx GetBitmapEx(const GraphicConversionParameters &rParameters=GraphicConversionParameters()) const
OUString GetStock() const
BitmapEx GetBitmapEx() const
void Draw(OutputDevice *pOutDev, const Point &rPos, DrawImageFlags nStyle, const Size *pSize=nullptr)
bool operator==(const Image &rImage) const
std::shared_ptr< ImplImage > mpImplData
SAL_DLLPRIVATE void ImplInit(BitmapEx const &rBmpEx)
Size GetSizePixel() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
SalGraphics const * GetGraphics() const
Get the graphic context that the output device uses to draw on.
GDIMetaFile * GetConnectMetaFile() const
void DrawBitmapEx(const Point &rDestPt, const BitmapEx &rBitmapEx)
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
bool IsDeviceOutputNecessary() const
const AllSettings & GetSettings() const
const Color & GetDeactiveColor() const
const Color & GetHighlightColor() const
std::shared_ptr< T > make_shared(Args &&... args)