GlyphInfoProtocol

public protocol GlyphInfoProtocol

A PangoGlyphInfo structure represents a single glyph with positioning information and visual attributes.

The GlyphInfoProtocol protocol exposes the methods and properties of an underlying PangoGlyphInfo 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 GlyphInfo. Alternatively, use GlyphInfoRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying PangoGlyphInfo instance.

    Declaration

    Swift

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

    Typed pointer to the underlying PangoGlyphInfo instance.

    Default Implementation

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

GlyphInfo Record: GlyphInfoProtocol extension (methods and fields)

  • glyph Extension method

    the glyph itself.

    Declaration

    Swift

    @inlinable
    var glyph: PangoGlyph { get set }
  • geometry Extension method

    the positional information about the glyph.

    Declaration

    Swift

    @inlinable
    var geometry: PangoGlyphGeometry { get set }
  • attr Extension method

    the visual attributes of the glyph.

    Declaration

    Swift

    @inlinable
    var attr: PangoGlyphVisAttr { get set }