Class

MaplibreNativeFfiCameraDelta

Description [src]

final class MaplibreNativeFfi.CameraDelta : GObject.Object
{
  /* No available fields */
}

A change to the camera from where it is now, for gestures.

A member that a has_ method reports on is unset until its property or setter sets it.

See mln_camera_delta in the C API reference.

Ancestors

Constructors

maplibre_native_ffi_camera_delta_new

Creates a MaplibreNativeFfiCameraDelta whose members are zero, empty, or unset.

Instance methods

maplibre_native_ffi_camera_delta_get_anchor

Gets MaplibreNativeFfiCameraDelta:anchor.

maplibre_native_ffi_camera_delta_get_animation

Gets MaplibreNativeFfiCameraDelta:animation.

maplibre_native_ffi_camera_delta_get_bearing

Gets MaplibreNativeFfiCameraDelta:bearing.

maplibre_native_ffi_camera_delta_get_gesture_phase

Gets MaplibreNativeFfiCameraDelta:gesture-phase.

maplibre_native_ffi_camera_delta_get_momentum

Gets MaplibreNativeFfiCameraDelta:momentum.

maplibre_native_ffi_camera_delta_get_offset

Gets MaplibreNativeFfiCameraDelta:offset.

maplibre_native_ffi_camera_delta_get_pitch

Gets MaplibreNativeFfiCameraDelta:pitch.

maplibre_native_ffi_camera_delta_get_scale

Gets MaplibreNativeFfiCameraDelta:scale.

maplibre_native_ffi_camera_delta_has_anchor

Whether MaplibreNativeFfiCameraDelta:anchor is set.

maplibre_native_ffi_camera_delta_has_bearing

Whether MaplibreNativeFfiCameraDelta:bearing is set.

maplibre_native_ffi_camera_delta_has_momentum

Whether MaplibreNativeFfiCameraDelta:momentum is set.

maplibre_native_ffi_camera_delta_has_offset

Whether MaplibreNativeFfiCameraDelta:offset is set.

maplibre_native_ffi_camera_delta_has_pitch

Whether MaplibreNativeFfiCameraDelta:pitch is set.

maplibre_native_ffi_camera_delta_has_scale

Whether MaplibreNativeFfiCameraDelta:scale is set.

maplibre_native_ffi_camera_delta_set_anchor

Sets MaplibreNativeFfiCameraDelta:anchor.

maplibre_native_ffi_camera_delta_set_animation

Sets MaplibreNativeFfiCameraDelta:animation.

maplibre_native_ffi_camera_delta_set_bearing

Sets MaplibreNativeFfiCameraDelta:bearing.

maplibre_native_ffi_camera_delta_set_gesture_phase

Sets MaplibreNativeFfiCameraDelta:gesture-phase.

maplibre_native_ffi_camera_delta_set_momentum

Sets MaplibreNativeFfiCameraDelta:momentum.

maplibre_native_ffi_camera_delta_set_offset

Sets MaplibreNativeFfiCameraDelta:offset.

maplibre_native_ffi_camera_delta_set_pitch

Sets MaplibreNativeFfiCameraDelta:pitch.

maplibre_native_ffi_camera_delta_set_scale

Sets MaplibreNativeFfiCameraDelta:scale.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MaplibreNativeFfi.CameraDelta:anchor

The screen point that scale, bearing, and pitch keep in place. It needs one of them, and it combines with offset only in a delta without a duration.

MaplibreNativeFfi.CameraDelta:bearing

Degrees to add to the bearing.

MaplibreNativeFfi.CameraDelta:momentum

How the gesture keeps moving after this delta. Only a delta in the MAPLIBRE_NATIVE_FFI_GESTURE_PHASE_END phase carries it.

MaplibreNativeFfi.CameraDelta:offset

Moves the map’s content this far on the screen, as a drag does.

MaplibreNativeFfi.CameraDelta:pitch

Degrees to add to the pitch.

MaplibreNativeFfi.CameraDelta:scale

Multiplies the map’s scale. 2 zooms in by one level.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct MaplibreNativeFfiCameraDeltaClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.