org.freedesktop.cairo
Class ScaledFont
java.lang.Object
org.gnu.glib.Struct
org.freedesktop.cairo.CairoObject
org.freedesktop.cairo.ScaledFont
- public class ScaledFont
- extends org.freedesktop.cairo.CairoObject
Methods inherited from class org.gnu.glib.Struct |
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
ScaledFont
public ScaledFont(FontFace fontFace,
Matrix matrix,
Matrix ctm,
FontOptions options)
- Create a new ScaledFont
- Parameters:
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.
getFontExtents
public FontExtents getFontExtents()