bump product version to 5.0.4.1
[LibreOffice.git] / vcl / quartz / CTRunData.hxx
blob3201acf0837331a66596fd778a48f87ea4a5678c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9 #ifndef CTRunData_Included
10 #define CTRunData_Included
12 #include "premac.h"
13 #include <CoreGraphics/CoreGraphics.h>
14 #include <CoreText/CoreText.h>
15 #include "postmac.h"
17 class CTRunData
19 public:
20 int ownership_flags;
21 #define CTRUNDATA_F_OWN_ADVANCES (1<<0)
22 #define CTRUNDATA_F_OWN_GLYPHS (1<<1)
23 #define CTRUNDATA_F_OWN_INDICES (1<<2)
24 #define CTRUNDATA_F_OWN_POSITIONS (1<<3)
26 int m_nGlyphs;
27 int m_StartPos;
28 int m_EndPos;
29 CTRunRef m_pRun;
30 CTFontRef m_pFont;
31 const CGGlyph* m_pGlyphs;
32 const CGPoint* m_pPositions;
33 const CGSize* m_pAdvances;
34 const CFIndex* m_pStringIndices;
36 CTRunData(CTRunRef pRun, int start);
37 ~CTRunData();
40 #endif /* NDef CTRunData_Included */
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */