GlyphMetrics Class

( QAbstractFontEngine::GlyphMetrics )

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

头: #include <GlyphMetrics>
Since: Qt 4.3

该类在开发且可能改变。

公共函数

GlyphMetrics ()

公共变量

Fixed advance
Fixed height
Fixed width
Fixed x
Fixed y

详细描述

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

成员函数文档编制

GlyphMetrics:: GlyphMetrics ()

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

成员变量文档编制

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).