QSDK 1.1 Documentation
Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

Q::TextMetrics Struct Reference
[User Interface]

#include <Q/q.h>

List of all members.

Public Attributes

Maths::Box2f extent
Maths::Vec2f advance


Detailed Description

A structure to describe the details of a piece of text. The value of extent is the box containing the image of the text, typically relative to the baseline of the text (i.e. the line which the text 'sits on'. The value of advance is the horizontal distance from the start of the text to the location on the baseline just after the text. Note that this may be different from the horizontal extent (e.g. for text in an italic font).

Return to QSDK documentation Contents page. Contact details for support, information and fault-reporting.
Qube Software Limited © 2000-2004