Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
SnapResults Struct Reference

#include <Snap.h>

Public Member Functions

bool Snapped () const
 

Public Attributes

double timeSnappedTime { 0.0 }
 
double outTime { 0.0 }
 
wxInt64 outCoord { -1 }
 
bool snappedPoint { false }
 
bool snappedTime { false }
 

Detailed Description

Definition at line 45 of file Snap.h.

Member Function Documentation

◆ Snapped()

bool SnapResults::Snapped ( ) const
inline

Definition at line 52 of file Snap.h.

52{ return snappedPoint || snappedTime; }
bool snappedTime
Definition: Snap.h:50
bool snappedPoint
Definition: Snap.h:49

References snappedPoint, and snappedTime.

Referenced by SelectHandle::AdjustSelection(), AdjustClipBorder::Drag(), AdjustClipBorder::Draw(), and SnapManager::Snap().

Here is the caller graph for this function:

Member Data Documentation

◆ outCoord

wxInt64 SnapResults::outCoord { -1 }

◆ outTime

double SnapResults::outTime { 0.0 }

◆ snappedPoint

bool SnapResults::snappedPoint { false }

◆ snappedTime

bool SnapResults::snappedTime { false }

Definition at line 50 of file Snap.h.

Referenced by SelectHandle::AdjustSelection(), SnapManager::Snap(), and Snapped().

◆ timeSnappedTime

double SnapResults::timeSnappedTime { 0.0 }

The documentation for this struct was generated from the following file: