FontMapClassProtocol

public protocol FontMapClassProtocol

The PangoFontMapClass structure holds the virtual functions for a particular PangoFontMap implementation.

The FontMapClassProtocol protocol exposes the methods and properties of an underlying PangoFontMapClass instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see FontMapClass. Alternatively, use FontMapClassRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying PangoFontMapClass instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed pointer to the underlying PangoFontMapClass instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the PangoFontMapClass instance.

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<PangoFontMapClass>! { get }
  • Required Initialiser for types conforming to FontMapClassProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

FontMapClass Record: FontMapClassProtocol extension (methods and fields)

  • parentClass Extension method

    parent GObjectClass

    Declaration

    Swift

    @inlinable
    var parentClass: GObjectClass { get }
  • shapeEngineType Extension method

    the type of rendering-system-dependent engines that can handle fonts of this fonts loaded with this fontmap.

    Declaration

    Swift

    @inlinable
    var shapeEngineType: UnsafePointer<CChar>! { get }