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 aSpecificSize=Size())
 
Size GetSizePixel () const
 
BitmapEx GetBitmapEx () const
 
bool operator! () const
 
bool operator== (const Image &rImage) const
 
bool operator!= (const Image &rImage) 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
 

Friends

class ::OutputDevice
 

Detailed Description

Definition at line 51 of file image.hxx.

Constructor & Destructor Documentation

Image::Image ( )

Definition at line 32 of file Image.cxx.

Image::Image ( BitmapEx const &  rBitmapEx)
explicit
Image::Image ( css::uno::Reference< css::graphic::XGraphic > const &  rxGraphic)
explicit
Image::Image ( OUString const &  rPNGFileUrl)
explicit
Image::Image ( StockImage  ,
OUString const &  rPNGFilePath,
Size  aSpecificSize = Size() 
)
explicit

Member Function Documentation

void Image::Draw ( OutputDevice pOutDev,
const Point rPos,
DrawImageFlags  nStyle,
const Size pSize = nullptr 
)
BitmapEx Image::GetBitmapEx ( ) const
Size Image::GetSizePixel ( ) const
void Image::ImplInit ( BitmapEx const &  rBmpEx)
private

Definition at line 69 of file Image.cxx.

References BitmapEx::IsEmpty(), and mpImplData.

bool Image::operator! ( ) const
inline

Definition at line 65 of file image.hxx.

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

Definition at line 70 of file image.hxx.

References operator==().

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

Definition at line 91 of file Image.cxx.

References mpImplData.

Referenced by operator!=().

Friends And Related Function Documentation

friend class ::OutputDevice
friend

Definition at line 53 of file image.hxx.

Member Data Documentation

std::shared_ptr<ImplImage> Image::mpImplData
private

Definition at line 79 of file image.hxx.

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


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