diff options
author | Armin Le Grand (Collabora) <Armin.Le.Grand@me.com> | 2024-08-02 15:56:52 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@me.com> | 2024-08-05 12:29:02 +0200 |
commit | bf9e8d5ffd3f29fa027f0009a70f27d3456b648b (patch) | |
tree | 90a472d181b256d0571c603c7494a326cf89a2f5 /vcl/inc/salgdi.hxx | |
parent | e6d470293243f1a8dd3dbcb42258dd22e408e127 (diff) |
CairoSDPR: direct text rendering using Cairo
I have added basic support for the text primitives
(TextSimplePortionPrimitive2D) to the SDPR Cairo
renderer. It can now basically render Text using
a fallback to the already existing CairoTextRender.
NOTE: This is not yet complete, but for discussion.
Change-Id: I9b0c7b6bb4892905576593ef4e2b4071c7663c63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171429
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r-- | vcl/inc/salgdi.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index d592bc10daea..4296cb4e3e51 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -162,6 +162,7 @@ public: virtual std::unique_ptr<GenericSalLayout> GetTextLayout(int nFallbackLevel) = 0; virtual void DrawTextLayout( const GenericSalLayout& ) = 0; + virtual void DrawSalLayout(const GenericSalLayout&, void*, const basegfx::BColor&, bool ) const {} virtual bool supportsOperation( OutDevSupportType ) const = 0; |