LibreOffice Module vcl (master) 1
EmphasisMark.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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
10#pragma once
11
12#include <sal/config.h>
13
14#include <tools/fontenum.hxx>
15#include <tools/gen.hxx>
16#include <tools/long.hxx>
17#include <tools/poly.hxx>
18
19#include <vcl/dllapi.h>
20
21namespace vcl::font
22{
24{
25public:
26 EmphasisMark(FontEmphasisMark eEmphasis, tools::Long nHeight, sal_Int32 nDPIY);
27
28 tools::PolyPolygon GetShape() const { return maPolyPoly; }
29 bool IsShapePolyLine() const { return mbIsPolyLine; }
30 tools::Rectangle GetRect1() const { return maRect1; }
31 tools::Rectangle GetRect2() const { return maRect2; }
32 tools::Long GetYOffset() const { return mnYOff; }
33 tools::Long GetWidth() const { return mnWidth; }
34
35private:
42};
43}
44
45/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
tools::Long GetYOffset() const
tools::Rectangle GetRect1() const
tools::PolyPolygon GetShape() const
tools::Rectangle GetRect2() const
tools::Long GetWidth() const
tools::Rectangle maRect2
bool IsShapePolyLine() const
tools::PolyPolygon maPolyPoly
tools::Rectangle maRect1
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
FontEmphasisMark
long Long
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...
double mnWidth