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, 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 44 of file cairo_canvasfont.hxx.

Member Typedef Documentation

◆ Reference

Definition at line 48 of file cairo_canvasfont.hxx.

Constructor & Destructor Documentation

◆ CanvasFont() [1/2]

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

make noncopyable

◆ CanvasFont() [2/2]

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

Member Function Documentation

◆ createTextLayout()

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

◆ disposing()

void SAL_CALL cairocanvas::CanvasFont::disposing ( )
overridevirtual

Dispose all internal references.

Definition at line 89 of file cairo_canvasfont.cxx.

◆ getAvailableSizes()

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

Definition at line 123 of file cairo_canvasfont.cxx.

◆ getExtraFontProperties()

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

Definition at line 129 of file cairo_canvasfont.cxx.

◆ getFontMetrics()

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

Definition at line 117 of file cairo_canvasfont.cxx.

◆ getFontRequest()

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

Definition at line 110 of file cairo_canvasfont.cxx.

◆ getImplementationName()

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

Definition at line 135 of file cairo_canvasfont.cxx.

◆ getSupportedServiceNames()

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

Definition at line 145 of file cairo_canvasfont.cxx.

◆ getVCLFont()

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

Definition at line 150 of file cairo_canvasfont.cxx.

Referenced by cairocanvas::setupTextOutput().

◆ operator=()

const CanvasFont & cairocanvas::CanvasFont::operator= ( const CanvasFont )
delete

◆ supportsService()

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

Definition at line 140 of file cairo_canvasfont.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ maFont

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

Definition at line 76 of file cairo_canvasfont.hxx.

◆ maFontRequest

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

Definition at line 77 of file cairo_canvasfont.hxx.

◆ mpRefDevice

SurfaceProviderRef cairocanvas::CanvasFont::mpRefDevice
private

Definition at line 78 of file cairo_canvasfont.hxx.


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