summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-05-02 01:59:08 +1000
committerTomaž Vajngerl <quikee@gmail.com>2021-05-03 15:11:11 +0200
commit8c756af15e967fca3b6cc08be9a57f6d249a27b7 (patch)
treedf00bd486287719cc8e748069b345bba0290cd8d /include/vcl/outdev.hxx
parent7cc1d3437a48140382773bf41401a46a3ced4706 (diff)
vcl: move SalLayoutFlags to own header
Change-Id: Ia1cefb6e0759404cb63cf1ccf6190931047bac79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114973 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx21
1 files changed, 1 insertions, 20 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 0b5ad987a060..54c39d2bf6cf 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -25,13 +25,13 @@
#include <tools/solar.h>
#include <tools/color.hxx>
#include <tools/poly.hxx>
-#include <o3tl/typed_flags_set.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/cairo.hxx>
#include <vcl/devicecoordinate.hxx>
#include <vcl/dllapi.h>
#include <vcl/font.hxx>
#include <vcl/region.hxx>
+#include <vcl/rendercontext/SalLayoutFlags.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/wall.hxx>
#include <vcl/metaactiontypes.hxx>
@@ -116,25 +116,6 @@ namespace com::sun::star::awt {
#define GLYPH_FONT_HEIGHT 256
#endif
-// Text Layout options
-enum class SalLayoutFlags
-{
- NONE = 0x0000,
- BiDiRtl = 0x0001,
- BiDiStrong = 0x0002,
- RightAlign = 0x0004,
- DisableKerning = 0x0010,
- KerningAsian = 0x0020,
- Vertical = 0x0040,
- KashidaJustification = 0x0800,
- ForFallback = 0x2000,
- GlyphItemsOnly = 0x4000,
-};
-namespace o3tl
-{
- template<> struct typed_flags<SalLayoutFlags> : is_typed_flags<SalLayoutFlags, 0x6877> {};
-}
-
typedef std::vector< tools::Rectangle > MetricVector;
// OutputDevice-Types