void ZoomInfo::FindIntervals
(double /*rate*/, Intervals &results, wxInt64 width, wxInt64 origin) const
{
    results.clear();
    results.reserve(2);

    const wxInt64 rightmost(origin + (0.5 + width));
    wxASSERT(origin <= rightmost);
    {
        results.push_back(Interval(origin, zoom, false));
    }

    if (origin < rightmost)
        results.push_back(Interval(rightmost, 0, false));
    wxASSERT(!results.empty() && results[0].position == origin);
}