12#include <com/sun/star/rendering/FontMetrics.hpp>
24 const uno::Sequence< beans::PropertyValue >& extraFontProperties,
25 const geometry::Matrix2D& fontMatrix ) :
26 maFontRequest(
std::move( aFontRequest )),
28 maFontMatrix( fontMatrix )
33 uno::Reference< rendering::XTextLayout > SAL_CALL CanvasFont::createTextLayout(
const rendering::StringContext& aText,
35 sal_Int64 nRandomSeed )
37 std::unique_lock aGuard( m_aMutex );
39 return new TextLayout( aText, nDirection, nRandomSeed, ImplRef(
this ) );
42 uno::Sequence< double > SAL_CALL CanvasFont::getAvailableSizes( )
45 return uno::Sequence< double >();
48 uno::Sequence< beans::PropertyValue > SAL_CALL CanvasFont::getExtraFontProperties( )
51 return uno::Sequence< beans::PropertyValue >();
54 rendering::FontRequest SAL_CALL CanvasFont::getFontRequest( )
61 rendering::FontMetrics SAL_CALL CanvasFont::getFontMetrics( )
64 return rendering::FontMetrics();
CanvasFont(const CanvasFont &)=delete
make noncopyable