TimeCoordProtocol

public protocol TimeCoordProtocol

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

A GdkTimeCoord stores a single event in a motion history.

  • ptr

    Untyped pointer to the underlying GdkTimeCoord instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GdkTimeCoord instance.

    Default Implementation

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

TimeCoord Record: TimeCoordProtocol extension (methods and fields)

  • time Extension method

    The timestamp for this event.

    Declaration

    Swift

    @inlinable
    var time: guint32 { get set }
  • flags Extension method

    Flags indicating what axes are present

    Declaration

    Swift

    @inlinable
    var flags: AxisFlags { get set }
  • axes Extension method

    axis values

    Declaration

    Swift

    @inlinable
    var axes: (CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble, CDouble) { get set }