org.freedesktop.cairo
public class ScaledFont extends org.gnu.glib.Struct
Constructor and Description |
---|
ScaledFont(FontFace fontFace,
Matrix matrix,
Matrix ctm,
FontOptions options)
Deprecated.
Superceeded by java-gnome 4.0; this method or constant
will no doubt exist conceptually, but it may have a different
name or signature in order that the presented API is an
algorithmic mapping of the underlying native libraries.
|
Modifier and Type | Method and Description |
---|---|
FontExtents |
getFontExtents() |
TextExtents |
getGlyphExtents(Glyph[] glyhps)
Deprecated.
Superceeded by java-gnome 4.0; this method or constant
will no doubt exist conceptually, but it may have a different
name or signature in order that the presented API is an
algorithmic mapping of the underlying native libraries.
|
public ScaledFont(FontFace fontFace, Matrix matrix, Matrix ctm, FontOptions options)
fontFace
- The FontFacematrix
- font space to user space transformation matrix for the font.
In the simplest case of a N point font, this matrix is just a
scale by N, but it can also be used to shear the font or
stretch it unequally along the two axes.ctm
- user to device transformation matrix with which the font will
be used.public FontExtents getFontExtents()
public TextExtents getGlyphExtents(Glyph[] glyhps)
glyhps
- an array of glyph IDs with X and Y offsets