ShapeFlags
public struct ShapeFlags : OptionSet
Flags influencing the shaping process.
PangoShapeFlags can be passed to [funcPango.shape_with_flags].
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32 -
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set } -
The equivalent raw
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
PangoShapeFlagsenum valueDeclaration
Swift
@inlinable public var value: PangoShapeFlags { get set } -
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32) -
Creates a new instance with the specified
PangoShapeFlagsenum valueDeclaration
Swift
@inlinable public init(_ enumValue: PangoShapeFlags) -
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger -
Default value
Declaration
Swift
public static let none: ShapeFlags -
Round glyph positions and widths to whole device units This option should be set if the target renderer can’t do subpixel positioning of glyphs
Declaration
Swift
public static let roundPositions: ShapeFlags
View on GitHub
Install in Dash
ShapeFlags Structure Reference