Protocols
The following protocols are available globally.
-
PangoCairoFontis 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 moreFontProtocolprotocol exposes the methods and properties of an underlyingPangoCairoFontinstance. 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, useFontRefas a lighweight,unownedreference if you already have an instance you just want to use.Declaration
Swift
public protocol FontProtocol
-
PangoCairoFontMapis 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 moreFontMapProtocolprotocol exposes the methods and properties of an underlyingPangoCairoFontMapinstance. 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, useFontMapRefas a lighweight,unownedreference if you already have an instance you just want to use.Declaration
Swift
public protocol FontMapProtocol
View on GitHub
Install in Dash
Protocols Reference