Structures

The following structures are available globally.

Font Interface

  • 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 FontRef type acts as a lightweight Swift reference to an underlying PangoCairoFont instance. It exposes methods that can operate on this data type through FontProtocol conformance. Use FontRef only as an unowned reference to an existing PangoCairoFont instance.

    See more

    Declaration

    Swift

    public struct FontRef : FontProtocol, GWeakCapturing

FontMap Interface

  • 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 FontMapRef type acts as a lightweight Swift reference to an underlying PangoCairoFontMap instance. It exposes methods that can operate on this data type through FontMapProtocol conformance. Use FontMapRef only as an unowned reference to an existing PangoCairoFontMap instance.

    See more

    Declaration

    Swift

    public struct FontMapRef : FontMapProtocol, GWeakCapturing