MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / get_min_offset

Method get_min_offset

DSView/pv/view/view.cpp:1241–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239}
1240
1241int64_t View::get_min_offset()
1242{
1243 int width = get_view_width();
1244 assert(width > 0);
1245
1246 if (MaxViewRate > 1)
1247 return floor(width * (1 - MaxViewRate));
1248 else
1249 return 0;
1250}
1251
1252int64_t View::get_max_offset()
1253{

Callers 2

mouseDoubleClickEventMethod · 0.80
on_drag_timerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected