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.
-
Untyped pointer to the underlying
GdkTimeCoord
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped 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)
-
time
Extension methodThe timestamp for this event.
Declaration
Swift
@inlinable var time: guint32 { get set }
-
axes
Extension methodthe values of the device’s axes.
Declaration
Swift
@inlinable var axes: (gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble, gdouble) { get set }