Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DreamSourceLab/DSView
/ zoom
Method
zoom
DSView/pv/view/view.cpp:249–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
247
}
248
249
void View::zoom(double steps)
250
{
251
int width = get_view_width();
252
if (width > 0)
253
{
254
zoom(steps, width / 2);
255
}
256
}
257
258
void View::set_update(Viewport *viewport, bool need_update)
259
{
Callers
4
eventFilter
Method · 0.45
auto_set
Method · 0.45
wheelEvent
Method · 0.45
gestureEvent
Method · 0.45
Calls
6
get_work_mode
Method · 0.80
is_running_status
Method · 0.80
is_instant
Method · 0.80
hori_knob
Method · 0.80
cur_view_time
Method · 0.80
update
Method · 0.45
Tested by
no test coverage detected