MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / refresh_draw_optimizing_values

Method refresh_draw_optimizing_values

src/DrawData.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "CanvasComponents/CanvasComponentContainer.hpp"
21
22void DrawData::refresh_draw_optimizing_values() {
23 clampDrawMinimum = cam.c.inverseScale >> CanvasComponentContainer::COMP_MIN_SHIFT_BEFORE_DISAPPEAR;
24}

Callers 4

take_screenshot_svgFunction · 0.80
take_screenshot_area_hwFunction · 0.80
draw_componentsMethod · 0.80
refresh_draw_cacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected