LibreOffice LibreOffice 25.2 SDK API Reference

FontMetrics.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20module com { module sun { module star { module rendering {
21
44 struct FontMetrics
45{
47 double Ascent;
48
49
51 double Descent;
52
53
55 double InternalLeading;
56
57
63 double ExternalLeading;
64
65
73 double ReferenceCharSize;
74
75
79 double UnderlineOffset;
80
81
85 double StrikeThroughOffset;
86
87};
88
89}; }; }; };
90
91/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com
Definition: Ambiguous.idl:20
com::sun::star::rendering::FontMetrics
Metrics global to the font, i.e.
Definition: FontMetrics.idl:45
com::sun::star::rendering::FontMetrics::Ascent
double Ascent
Ascent (above the baseline) part of the font.
Definition: FontMetrics.idl:47
com::sun::star::rendering::FontMetrics::ReferenceCharSize
double ReferenceCharSize
This value specifies the reference character width of the font.
Definition: FontMetrics.idl:73
com::sun::star::rendering::FontMetrics::ExternalLeading
double ExternalLeading
Extra space outside the font cells.
Definition: FontMetrics.idl:63
com::sun::star::rendering::FontMetrics::Descent
double Descent
Descent (below the baseline) part of the font.
Definition: FontMetrics.idl:51
com::sun::star::rendering::FontMetrics::StrikeThroughOffset
double StrikeThroughOffset
Specifies the offset to be added to the baseline when striking through the text.
Definition: FontMetrics.idl:85
com::sun::star::rendering::FontMetrics::InternalLeading
double InternalLeading
Extra space above ascent.
Definition: FontMetrics.idl:55
com::sun::star::rendering::FontMetrics::UnderlineOffset
double UnderlineOffset
Specifies the offset to be added to the baseline when drawing underlined text.
Definition: FontMetrics.idl:79