Adding "GetNormalLineHeight" method.
Photon ONLY git-svn-id: svn://10.0.0.236/trunk@68612 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -313,6 +313,13 @@ nsFontMetricsPh :: GetHeight(nscoord &aHeight)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFontMetricsPh ::GetNormalLineHeight(nscoord &aHeight)
|
||||
{
|
||||
aHeight = mEmHeight + mLeading;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFontMetricsPh :: GetLeading(nscoord &aLeading)
|
||||
{
|
||||
|
||||
@@ -57,6 +57,7 @@ public:
|
||||
NS_IMETHOD GetUnderline(nscoord& aOffset, nscoord& aSize);
|
||||
|
||||
NS_IMETHOD GetHeight(nscoord &aHeight);
|
||||
NS_IMETHOD GetNormalLineHeight(nscoord &aHeight);
|
||||
NS_IMETHOD GetLeading(nscoord &aLeading);
|
||||
NS_IMETHOD GetEmHeight(nscoord &aHeight);
|
||||
NS_IMETHOD GetEmAscent(nscoord &aAscent);
|
||||
|
||||
Reference in New Issue
Block a user