Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MapServer/MapServer
/ calculate
Method
calculate
renderers/agg/include/agg_span_gradient.h:179–182 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
177
{
178
public:
179
static AGG_INLINE int calculate(int x, int y, int)
180
{
181
return uround(sqrt(double(x)*double(x) + double(y)*double(y)));
182
}
183
};
184
185
//====================================================gradient_radial_focus
Callers
nothing calls this directly
Calls
1
uround
Function · 0.85
Tested by
no test coverage detected