Class ScaledFont

java.lang.Object
io.github.jwharm.cairobindings.Proxy
org.freedesktop.cairo.ScaledFont
Direct Known Subclasses:
FTScaledFont, UserScaledFont

public class ScaledFont extends Proxy
Font face at particular size and options.

A ScaledFont is a font scaled to a particular size and device resolution. A ScaledFont is most useful for low-level font usage where a library or application wants to cache a reference to a scaled font to speed up the computation of metrics.

There are various types of scaled fonts, depending on the font backend they use. The type of a scaled font can be queried using getFontType().

Since:
1.0
See Also: