LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Image Class Reference

#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< ImplImagempImplData


class ::OutputDevice

Detailed Description

Definition at line 39 of file image.hxx.

Constructor & Destructor Documentation

◆ Image() [1/5]

Image::Image ( )

Definition at line 32 of file Image.cxx.

◆ Image() [2/5]

Image::Image ( BitmapEx const &  rBitmapEx)

Definition at line 36 of file Image.cxx.

References ImplInit().

◆ Image() [3/5]

Image::Image ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic)

◆ Image() [4/5]

Image::Image ( OUString const &  rPNGFileUrl)

◆ Image() [5/5]

Image::Image ( StockImage  ,
OUString const &  rPNGFilePath 

Definition at line 70 of file Image.cxx.

References make_shared().

Member Function Documentation

◆ Draw()

void Image::Draw ( OutputDevice pOutDev,
const Point rPos,
DrawImageFlags  nStyle,
const Size pSize = nullptr 

◆ GetBitmapEx()

BitmapEx Image::GetBitmapEx ( ) const

◆ GetSizePixel()

Size Image::GetSizePixel ( ) const

◆ GetStock()

OUString Image::GetStock ( ) const

Definition at line 81 of file Image.cxx.

References mpImplData.

Referenced by Graphic::Graphic(), lcl_DumpEntryAndSiblings(), and VclBuilder::VclBuilder().

◆ ImplInit()

void Image::ImplInit ( BitmapEx const &  rBmpEx)

Definition at line 75 of file Image.cxx.

References BitmapEx::IsEmpty(), and mpImplData.

Referenced by Image().

◆ operator!()

bool Image::operator! ( ) const

Definition at line 52 of file image.hxx.

◆ operator!=()

bool Image::operator!= ( const Image rImage) const

Definition at line 57 of file image.hxx.

References operator==().

◆ operator==()

bool Image::operator== ( const Image rImage) const

Definition at line 104 of file Image.cxx.

References mpImplData.

Referenced by operator!=().

Friends And Related Function Documentation

◆ ::OutputDevice

friend class ::OutputDevice

Definition at line 41 of file image.hxx.

Member Data Documentation

◆ mpImplData

std::shared_ptr<ImplImage> Image::mpImplData

Definition at line 68 of file image.hxx.

Referenced by Draw(), GetBitmapEx(), GetSizePixel(), GetStock(), Image(), ImplInit(), and operator==().

The documentation for this class was generated from the following files: