TOpenFontMetrics Class Reference
Constructor & Destructor Documentation
TOpenFontMetrics()
|
TOpenFontMetrics
|
(
|
)
|
[inline]
|
Default C++ constructor.
This creates then zero fills the object.
TOpenFontMetrics(const CFont *)
|
IMPORT_C
|
TOpenFontMetrics
|
(
|
const
CFont
*
|
aFont
|
)
|
|
Member Functions Documentation
Ascent()
|
TInt
|
Ascent
|
(
|
)
|
const [inline]
|
Gets the font's ascent.
This is the ascent for the Latin character which is highest above the baseline.
SetAscent()
BaselineCorrection()
|
IMPORT_C
TInt
|
BaselineCorrection
|
(
|
)
|
|
Descent()
|
TInt
|
Descent
|
(
|
)
|
const [inline]
|
Gets the font's descent.
This is the descent for the Latin character in the font which falls furthest below the baseline.
SetDescent()
MaxDepth()
|
TInt
|
MaxDepth
|
(
|
)
|
const [inline]
|
Gets the font's maximum depth.
Note: If this object was initialised from the
CFont
this will be the same as the descent.
This is the descent for the character in the font which falls furthest below the baseline.
SetMaxDepth()
MaxHeight()
|
TInt
|
MaxHeight
|
(
|
)
|
const [inline]
|
Sets the font's maximum height.
Note that if this object was initialised from the
CFont
this will be the same as the ascent.
This is the ascent for the character which is highest above the baseline. In many fonts this will be the height of an accented character like , including the accent.
SetMaxDepth()
MaxWidth()
|
TInt
|
MaxWidth
|
(
|
)
|
const [inline]
|
SetAscent(TInt)
|
void
|
SetAscent
|
(
|
TInt
|
aAscent
|
)
|
[inline]
|
Parameters
|
TInt
aAscent
|
The ascent, in pixels.
|
SetBaselineCorrection(TInt)
|
IMPORT_C void
|
SetBaselineCorrection
|
(
|
TInt
|
aBaselineCorrection
|
)
|
|
WARNING: Function for internal and partner use ONLY. Compatibility is not guaranteed in future releases.
SetDescent(TInt)
|
void
|
SetDescent
|
(
|
TInt
|
aDescent
|
)
|
[inline]
|
Parameters
|
TInt
aDescent
|
The descent, in pixels.
|
SetMaxDepth(TInt)
|
void
|
SetMaxDepth
|
(
|
TInt
|
aMaxDepth
|
)
|
[inline]
|
Parameters
|
TInt
aMaxDepth
|
The font's maximum depth, in pixels.
|
SetMaxHeight(TInt)
|
void
|
SetMaxHeight
|
(
|
TInt
|
aMaxHeight
|
)
|
[inline]
|
Parameters
|
TInt
aMaxHeight
|
The font's maximum height, in pixels.
|
SetMaxWidth(TInt)
|
void
|
SetMaxWidth
|
(
|
TInt
|
aMaxWidth
|
)
|
[inline]
|
Sets the maximum character width, in pixels.
MaxWidth()
Parameters
|
TInt
aMaxWidth
|
The maximum character width, in pixels.
|
SetSize(TInt)
|
void
|
SetSize
|
(
|
TInt
|
aSize
|
)
|
[inline]
|
Parameters
|
TInt
aSize
|
The font's size.
|
Size()
|
TInt
|
Size
|
(
|
)
|
const [inline]
|
Member Data Documentation
TInt16
iBaselineCorrection
|
TInt16
|
iBaselineCorrection
|
[private]
|
TInt16
iDesignHeight
|
TInt16
|
iDesignHeight
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.