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

#include <ogl_canvasfont.hxx>

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

Public Types

typedef rtl::Reference< CanvasFontImplRef
 

Public Member Functions

 CanvasFont (const CanvasFont &)=delete
 make noncopyable More...
 
const CanvasFontoperator= (const CanvasFont &)=delete
 
 CanvasFont (css::rendering::FontRequest fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &fontMatrix)
 
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
 
const css::geometry::Matrix2D & getFontMatrix () const
 
sal_uInt32 getEmphasisMark () const
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Private Attributes

css::rendering::FontRequest maFontRequest
 
sal_uInt32 mnEmphasisMark
 
css::geometry::Matrix2D maFontMatrix
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Definition at line 28 of file ogl_canvasfont.hxx.

Member Typedef Documentation

◆ ImplRef

Definition at line 31 of file ogl_canvasfont.hxx.

Constructor & Destructor Documentation

◆ CanvasFont() [1/2]

oglcanvas::CanvasFont::CanvasFont ( const CanvasFont )
delete

make noncopyable

◆ CanvasFont() [2/2]

oglcanvas::CanvasFont::CanvasFont ( css::rendering::FontRequest  fontRequest,
const css::uno::Sequence< css::beans::PropertyValue > &  extraFontProperties,
const css::geometry::Matrix2D &  fontMatrix 
)

Member Function Documentation

◆ createTextLayout()

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

◆ getAvailableSizes()

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

Definition at line 42 of file ogl_canvasfont.cxx.

◆ getEmphasisMark()

sal_uInt32 oglcanvas::CanvasFont::getEmphasisMark ( ) const
inline

Definition at line 50 of file ogl_canvasfont.hxx.

References mnEmphasisMark.

◆ getExtraFontProperties()

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

Definition at line 48 of file ogl_canvasfont.cxx.

◆ getFontMatrix()

const css::geometry::Matrix2D & oglcanvas::CanvasFont::getFontMatrix ( ) const
inline

Definition at line 48 of file ogl_canvasfont.hxx.

References maFontMatrix.

◆ getFontMetrics()

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

Definition at line 61 of file ogl_canvasfont.cxx.

◆ getFontRequest()

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

Definition at line 54 of file ogl_canvasfont.cxx.

References m_aMutex.

◆ operator=()

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

Member Data Documentation

◆ maFontMatrix

css::geometry::Matrix2D oglcanvas::CanvasFont::maFontMatrix
private

Definition at line 55 of file ogl_canvasfont.hxx.

Referenced by getFontMatrix().

◆ maFontRequest

css::rendering::FontRequest oglcanvas::CanvasFont::maFontRequest
private

Definition at line 53 of file ogl_canvasfont.hxx.

◆ mnEmphasisMark

sal_uInt32 oglcanvas::CanvasFont::mnEmphasisMark
private

Definition at line 54 of file ogl_canvasfont.hxx.

Referenced by getEmphasisMark().


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