Protocols
The following protocols are available globally.
-
PangoCairoFont
is an interface exported by fonts for use with Cairo.The actual type of the font will depend on the particular font technology Cairo was compiled to use.
The
See moreFontProtocol
protocol exposes the methods and properties of an underlyingPangoCairoFont
instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, seeFont
. Alternatively, useFontRef
as a lighweight,unowned
reference if you already have an instance you just want to use.Declaration
Swift
public protocol FontProtocol
-
PangoCairoFontMap
is an interface exported by font maps for use with Cairo.The actual type of the font map will depend on the particular font technology Cairo was compiled to use.
The
See moreFontMapProtocol
protocol exposes the methods and properties of an underlyingPangoCairoFontMap
instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, seeFontMap
. Alternatively, useFontMapRef
as a lighweight,unowned
reference if you already have an instance you just want to use.Declaration
Swift
public protocol FontMapProtocol