public class FtSizeMetrics
extends java.lang.Object
构造器和说明 |
---|
FtSizeMetrics(org.lwjgl.util.freetype.FT_Size_Metrics metrics) |
限定符和类型 | 方法和说明 |
---|---|
long |
getAscender()
The ascender in 26.6 fractional pixels, rounded up to an integer value.
|
long |
getDescender()
The descender in 26.6 fractional pixels, rounded down to an integer value.
|
long |
getHeight()
The height in 26.6 fractional pixels, rounded to an integer value.
|
long |
getMaxAdvance()
The maximum advance width in 26.6 fractional pixels, rounded to an integer value.
|
short |
getXPpem()
The width of the scaled EM square in pixels, hence the term ‘ppem’ (pixels per EM).
|
long |
getXScale()
A 16.16 fractional scaling value to convert horizontal metrics from font units to 26.6 fractional pixels.
|
short |
getYPpem()
The height of the scaled EM square in pixels, hence the term ‘ppem’ (pixels per EM).
|
long |
getYScale()
A 16.16 fractional scaling value to convert vertical metrics from font units to 26.6 fractional pixels.
|
public short getXPpem()
public short getYPpem()
public long getXScale()
public long getYScale()
public long getAscender()
public long getDescender()
public long getHeight()
public long getMaxAdvance()