LibreOffice Module canvas (master)  1
Public Types | Public Member Functions | Private Attributes | List of all members
cairocanvas::CanvasFont Class Reference

#include <cairo_canvasfont.hxx>

Inheritance diagram for cairocanvas::CanvasFont:
[legend]
Collaboration diagram for cairocanvas::CanvasFont:
[legend]

Public Types

typedef rtl::Reference< CanvasFontReference
 

Public Member Functions

 CanvasFont (const CanvasFont &)=delete
 make noncopyable More...
 
const CanvasFontoperator= (const CanvasFont &)=delete
 
 CanvasFont (const css::rendering::FontRequest &fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &rFontMatrix, const SurfaceProviderRef &rDevice)
 
virtual void SAL_CALL disposing () override
 Dispose all internal references. More...
 
virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL createTextLayout (const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed) override
 
virtual css::rendering::FontRequest SAL_CALL getFontRequest () override
 
virtual css::rendering::FontMetrics SAL_CALL getFontMetrics () override
 
virtual css::uno::Sequence< double > SAL_CALL getAvailableSizes () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getExtraFontProperties () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
vcl::Font const & getVCLFont () const
 

Private Attributes

::canvas::vcltools::VCLObject< vcl::FontmaFont
 
css::rendering::FontRequest maFontRequest
 
SurfaceProviderRef mpRefDevice
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 46 of file cairo_canvasfont.hxx.

Member Typedef Documentation

Definition at line 50 of file cairo_canvasfont.hxx.

Constructor & Destructor Documentation

cairocanvas::CanvasFont::CanvasFont ( const CanvasFont )
delete

make noncopyable

cairocanvas::CanvasFont::CanvasFont ( const css::rendering::FontRequest &  fontRequest,
const css::uno::Sequence< css::beans::PropertyValue > &  extraFontProperties,
const css::geometry::Matrix2D &  rFontMatrix,
const SurfaceProviderRef rDevice 
)

Member Function Documentation

virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL cairocanvas::CanvasFont::createTextLayout ( const css::rendering::StringContext &  aText,
sal_Int8  nDirection,
sal_Int64  nRandomSeed 
)
overridevirtual
void SAL_CALL cairocanvas::CanvasFont::disposing ( )
overridevirtual

Dispose all internal references.

Definition at line 88 of file cairo_canvasfont.cxx.

References mpRefDevice.

uno::Sequence< double > SAL_CALL cairocanvas::CanvasFont::getAvailableSizes ( )
overridevirtual

Definition at line 122 of file cairo_canvasfont.cxx.

uno::Sequence< beans::PropertyValue > SAL_CALL cairocanvas::CanvasFont::getExtraFontProperties ( )
overridevirtual

Definition at line 128 of file cairo_canvasfont.cxx.

rendering::FontMetrics SAL_CALL cairocanvas::CanvasFont::getFontMetrics ( )
overridevirtual

Definition at line 116 of file cairo_canvasfont.cxx.

rendering::FontRequest SAL_CALL cairocanvas::CanvasFont::getFontRequest ( )
overridevirtual

Definition at line 109 of file cairo_canvasfont.cxx.

References maFontRequest.

OUString SAL_CALL cairocanvas::CanvasFont::getImplementationName ( )
overridevirtual

Definition at line 134 of file cairo_canvasfont.cxx.

uno::Sequence< OUString > SAL_CALL cairocanvas::CanvasFont::getSupportedServiceNames ( )
overridevirtual

Definition at line 144 of file cairo_canvasfont.cxx.

vcl::Font const & cairocanvas::CanvasFont::getVCLFont ( ) const

Definition at line 149 of file cairo_canvasfont.cxx.

References maFont.

Referenced by cairocanvas::setupTextOutput().

const CanvasFont& cairocanvas::CanvasFont::operator= ( const CanvasFont )
delete
sal_Bool SAL_CALL cairocanvas::CanvasFont::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 139 of file cairo_canvasfont.cxx.

References cppu::supportsService().

Member Data Documentation

::canvas::vcltools::VCLObject<vcl::Font> cairocanvas::CanvasFont::maFont
private

Definition at line 78 of file cairo_canvasfont.hxx.

Referenced by getVCLFont().

css::rendering::FontRequest cairocanvas::CanvasFont::maFontRequest
private

Definition at line 79 of file cairo_canvasfont.hxx.

Referenced by getFontRequest().

SurfaceProviderRef cairocanvas::CanvasFont::mpRefDevice
private

Definition at line 80 of file cairo_canvasfont.hxx.

Referenced by disposing().


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