MCPcopy 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
249void View::zoom(double steps)
250{
251 int width = get_view_width();
252 if (width > 0)
253 {
254 zoom(steps, width / 2);
255 }
256}
257
258void View::set_update(Viewport *viewport, bool need_update)
259{

Callers 4

eventFilterMethod · 0.45
auto_setMethod · 0.45
wheelEventMethod · 0.45
gestureEventMethod · 0.45

Calls 6

get_work_modeMethod · 0.80
is_running_statusMethod · 0.80
is_instantMethod · 0.80
hori_knobMethod · 0.80
cur_view_timeMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected