SubpixelLayout

public extension SubpixelLayout
  • Cast constructor, converting any binary integer to a SubpixelLayout.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The layout is not known

    Declaration

    Swift

    static let unknown: GdkSubpixelLayout
  • Not organized in this way

    Declaration

    Swift

    static let none: GdkSubpixelLayout
  • The layout is horizontal, the order is RGB

    Declaration

    Swift

    static let horizontalRgb: GdkSubpixelLayout
  • The layout is horizontal, the order is BGR

    Declaration

    Swift

    static let horizontalBgr: GdkSubpixelLayout
  • The layout is vertical, the order is RGB

    Declaration

    Swift

    static let verticalRgb: GdkSubpixelLayout
  • The layout is vertical, the order is BGR

    Declaration

    Swift

    static let verticalBgr: GdkSubpixelLayout