24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/geometry/Matrix2D.hpp>
26#include <com/sun/star/rendering/FontRequest.hpp>
27#include <com/sun/star/rendering/XCanvasFont.hpp>
29#include <vcl/font.hxx>
51 CanvasFont(
const css::rendering::FontRequest& fontRequest,
52 const css::uno::Sequence< css::beans::PropertyValue >& extraFontProperties,
53 const css::geometry::Matrix2D& rFontMatrix,
57 virtual void disposing(std::unique_lock<std::mutex>& rGuard)
override;
60 virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL
createTextLayout(
const css::rendering::StringContext& aText,
sal_Int8 nDirection, sal_Int64 nRandomSeed )
override;
61 virtual css::rendering::FontRequest SAL_CALL
getFontRequest( )
override;
62 virtual css::rendering::FontMetrics SAL_CALL
getFontMetrics( )
override;
rtl::Reference< CanvasFont > Reference
virtual css::rendering::FontMetrics SAL_CALL getFontMetrics() override
CanvasFont(const CanvasFont &)=delete
make noncopyable
virtual void disposing(std::unique_lock< std::mutex > &rGuard) override
Dispose all internal references.
sal_uInt32 mnEmphasisMark
virtual css::uno::Sequence< double > SAL_CALL getAvailableSizes() override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getExtraFontProperties() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
const CanvasFont & operator=(const CanvasFont &)=delete
sal_uInt32 getEmphasisMark() const
SurfaceProviderRef mpRefDevice
vcl::Font const & getVCLFont() const
::canvas::vcltools::VCLObject< vcl::Font > maFont
virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL createTextLayout(const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed) override
css::rendering::FontRequest maFontRequest
virtual OUString SAL_CALL getImplementationName() override
virtual css::rendering::FontRequest SAL_CALL getFontRequest() override
CanvasFont(const css::rendering::FontRequest &fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &rFontMatrix, SurfaceProviderRef rDevice)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
::comphelper::WeakComponentImplHelper< css::rendering::XCanvasFont, css::lang::XServiceInfo > CanvasFont_Base
class SAL_LOPLUGIN_ANNOTATE("crosscast") SurfaceProvider typedef ::rtl::Reference< SurfaceProvider > SurfaceProviderRef
Target interface for XCachedPrimitive implementations.