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:
Jerry.Kirk%Nexwarecorp.com
2000-05-08 00:05:00 +00:00
parent 1ad76cabb5
commit 239379cf00
2 changed files with 8 additions and 0 deletions

View File

@@ -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)
{

View File

@@ -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);