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.
-
Untyped pointer to the underlying
PangoGlyphInfoinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
PangoGlyphInfoinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
PangoGlyphInfoinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<PangoGlyphInfo>! { get } -
Required Initialiser for types conforming to
GlyphInfoProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
glyphExtension methodthe glyph itself.
Declaration
Swift
@inlinable var glyph: PangoGlyph { get set } -
geometryExtension methodthe positional information about the glyph.
Declaration
Swift
@inlinable var geometry: PangoGlyphGeometry { get set } -
attrExtension methodthe visual attributes of the glyph.
Declaration
Swift
@inlinable var attr: PangoGlyphVisAttr { get set }
View on GitHub
Install in Dash
GlyphInfoProtocol Protocol Reference