GlyphMetrics Class

(QAbstractFontEngine::GlyphMetrics)

QAbstractFontEngine::GlyphMetrics defines the metrics of a single glyph. More...

Header: #include <GlyphMetrics>
Since: Qt 4.3

This class is under development and is subject to change.

Public Functions

Public Variables

Fixed advance
Fixed height
Fixed width
Fixed x
Fixed y

Detailed Description

QAbstractFontEngine::GlyphMetrics defines the metrics of a single glyph.

Member Function Documentation

GlyphMetrics::GlyphMetrics()

Constructs an empty glyph metrics object with all values set to zero.

Member Variable Documentation

Fixed GlyphMetrics::advance

The advance of the glyph.

Fixed GlyphMetrics::height

The height of the glyph.

Fixed GlyphMetrics::width

The width of the glyph.

Fixed GlyphMetrics::x

The horizontal offset from the origin.

Fixed GlyphMetrics::y

The vertical offset from the origin (baseline).

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.