AttrFontDescProtocol
public protocol AttrFontDescProtocol
The PangoAttrFontDesc structure is used to store an attribute that
sets all aspects of the font description at once.
The AttrFontDescProtocol protocol exposes the methods and properties of an underlying PangoAttrFontDesc 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 AttrFontDesc.
Alternatively, use AttrFontDescRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
PangoAttrFontDescinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
PangoAttrFontDescinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
PangoAttrFontDescinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<PangoAttrFontDesc>! { get } -
Required Initialiser for types conforming to
AttrFontDescProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
attrExtension methodthe common portion of the attribute
Declaration
Swift
@inlinable var attr: PangoAttribute { get set } -
descExtension methodthe font description which is the value of this attribute
Declaration
Swift
@inlinable var desc: FontDescriptionRef! { get set }
View on GitHub
Install in Dash
AttrFontDescProtocol Protocol Reference