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

#include <canvasfont.hxx>

Inheritance diagram for vclcanvas::CanvasFont:
Collaboration diagram for vclcanvas::CanvasFont:

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, css::rendering::XGraphicDevice &rDevice, const OutDevProviderSharedPtr &rOutDevProvider)
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
const css::geometry::Matrix2D & getFontMatrix () const

Private Attributes

::canvas::vcltools::VCLObject< vcl::FontmaFont
css::rendering::FontRequest maFontRequest
css::uno::Reference< css::rendering::XGraphicDevice > mpRefDevice
OutDevProviderSharedPtr mpOutDevProvider
css::geometry::Matrix2D maFontMatrix

Additional Inherited Members

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

Detailed Description

Definition at line 45 of file canvasfont.hxx.

Member Typedef Documentation

◆ Reference

Definition at line 49 of file canvasfont.hxx.

Constructor & Destructor Documentation

◆ CanvasFont() [1/2]

vclcanvas::CanvasFont::CanvasFont ( const CanvasFont )

make noncopyable

◆ CanvasFont() [2/2]

vclcanvas::CanvasFont::CanvasFont ( const css::rendering::FontRequest &  fontRequest,
const css::uno::Sequence< css::beans::PropertyValue > &  extraFontProperties,
const css::geometry::Matrix2D &  rFontMatrix,
css::rendering::XGraphicDevice &  rDevice,
const OutDevProviderSharedPtr rOutDevProvider 

Member Function Documentation

◆ createTextLayout()

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

◆ disposing()

void SAL_CALL vclcanvas::CanvasFont::disposing ( )

Dispose all internal references.

Definition at line 77 of file canvasfont.cxx.

◆ getAvailableSizes()

uno::Sequence< double > SAL_CALL vclcanvas::CanvasFont::getAvailableSizes ( )

Definition at line 125 of file canvasfont.cxx.

◆ getExtraFontProperties()

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

Definition at line 131 of file canvasfont.cxx.

◆ getFontMatrix()

const css::geometry::Matrix2D & vclcanvas::CanvasFont::getFontMatrix ( ) const

Definition at line 157 of file canvasfont.cxx.

◆ getFontMetrics()

rendering::FontMetrics SAL_CALL vclcanvas::CanvasFont::getFontMetrics ( )

Definition at line 106 of file canvasfont.cxx.

◆ getFontRequest()

rendering::FontRequest SAL_CALL vclcanvas::CanvasFont::getFontRequest ( )

Definition at line 99 of file canvasfont.cxx.

◆ getImplementationName()

OUString SAL_CALL vclcanvas::CanvasFont::getImplementationName ( )

Definition at line 137 of file canvasfont.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL vclcanvas::CanvasFont::getSupportedServiceNames ( )

Definition at line 147 of file canvasfont.cxx.

◆ getVCLFont()

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

Definition at line 152 of file canvasfont.cxx.

Referenced by vclcanvas::CanvasHelper::setupTextOutput().

◆ operator=()

const CanvasFont & vclcanvas::CanvasFont::operator= ( const CanvasFont )

◆ supportsService()

sal_Bool SAL_CALL vclcanvas::CanvasFont::supportsService ( const OUString &  ServiceName)

Definition at line 142 of file canvasfont.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ maFont

::canvas::vcltools::VCLObject<vcl::Font> vclcanvas::CanvasFont::maFont

Definition at line 81 of file canvasfont.hxx.

◆ maFontMatrix

css::geometry::Matrix2D vclcanvas::CanvasFont::maFontMatrix

Definition at line 85 of file canvasfont.hxx.

◆ maFontRequest

css::rendering::FontRequest vclcanvas::CanvasFont::maFontRequest

Definition at line 82 of file canvasfont.hxx.

◆ mpOutDevProvider

OutDevProviderSharedPtr vclcanvas::CanvasFont::mpOutDevProvider

Definition at line 84 of file canvasfont.hxx.

◆ mpRefDevice

css::uno::Reference< css::rendering::XGraphicDevice> vclcanvas::CanvasFont::mpRefDevice

Definition at line 83 of file canvasfont.hxx.

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