Version: 2.9.4
Public Member Functions | Public Attributes
wxFontMetrics Struct Reference

#include </home/zeitlin/src/wx/github/interface/wx/dc.h>


Detailed Description

Simple collection of various font metrics.

This object is returned by wxDC::GetFontMetrics().

Since:
2.9.2

Library:  wxCore
Category:  Device Contexts, Graphics Device Interface (GDI)

Public Member Functions

 wxFontMetrics ()
 Constructor initializes all fields to 0.

Public Attributes

int height
 Total character height.
int ascent
 Part of the height above the baseline.
int descent
 Part of the height below the baseline.
int internalLeading
 Intra-line spacing.
int externalLeading
 Inter-line spacing.
int averageWidth
 Average font width, a.k.a. "x-width".

List of all members.


Constructor & Destructor Documentation

wxFontMetrics::wxFontMetrics ( )

Constructor initializes all fields to 0.


Member Data Documentation

Part of the height above the baseline.

Average font width, a.k.a. "x-width".

Part of the height below the baseline.

Inter-line spacing.

Total character height.

Intra-line spacing.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines