Qt 4.8
Public Functions | Public Variables | List of all members
QAbstractFontEngine::GlyphMetrics Class Reference

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

#include <qabstractfontengine_qws.h>

Public Functions

 GlyphMetrics ()
 Constructs an empty glyph metrics object with all values set to zero. More...
 

Public Variables

Fixed advance
 The advance of the glyph. More...
 
Fixed height
 The height of the glyph. More...
 
Fixed width
 The width of the glyph. More...
 
Fixed x
 The horizontal offset from the origin. More...
 
Fixed y
 The vertical offset from the origin (baseline). More...
 

Detailed Description

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

This function is under development and subject to change.

Since
4.3

Definition at line 150 of file qabstractfontengine_qws.h.

Constructors and Destructors

◆ GlyphMetrics()

QAbstractFontEngine::GlyphMetrics::GlyphMetrics ( )
inline

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

Definition at line 152 of file qabstractfontengine_qws.h.

153  : x(0), y(0), width(0), height(0),
154  advance(0) {}
Fixed advance
The advance of the glyph.
Fixed height
The height of the glyph.
Fixed width
The width of the glyph.
Fixed x
The horizontal offset from the origin.
Fixed y
The vertical offset from the origin (baseline).

Properties

◆ advance

QAbstractFontEngine::GlyphMetrics::advance

The advance of the glyph.

Definition at line 159 of file qabstractfontengine_qws.h.

Referenced by QProxyFontEngine::boundingBox().

◆ height

QAbstractFontEngine::GlyphMetrics::height

The height of the glyph.

Definition at line 158 of file qabstractfontengine_qws.h.

Referenced by QProxyFontEngine::alphaMapForGlyph(), and QProxyFontEngine::boundingBox().

◆ width

QAbstractFontEngine::GlyphMetrics::width

The width of the glyph.

Definition at line 157 of file qabstractfontengine_qws.h.

Referenced by QProxyFontEngine::alphaMapForGlyph(), and QProxyFontEngine::boundingBox().

◆ x

QAbstractFontEngine::GlyphMetrics::x

The horizontal offset from the origin.

Definition at line 155 of file qabstractfontengine_qws.h.

Referenced by QProxyFontEngine::boundingBox(), and QProxyFontEngine::canRender().

◆ y

QAbstractFontEngine::GlyphMetrics::y

The vertical offset from the origin (baseline).

Definition at line 156 of file qabstractfontengine_qws.h.

Referenced by QProxyFontEngine::boundingBox(), and QProxyFontEngine::canRender().


The documentation for this class was generated from the following files: