MCPcopy Create free account
hub / github.com/MapServer/MapServer / width

Method width

renderers/agg/include/agg_math_stroke.h:144–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143 //-----------------------------------------------------------------------
144 template<class VC> void math_stroke<VC>::width(double w)
145 {
146 m_width = w * 0.5;
147 if(m_width < 0)
148 {
149 m_width_abs = -m_width;
150 m_width_sign = -1;
151 }
152 else
153 {
154 m_width_abs = m_width;
155 m_width_sign = 1;
156 }
157 m_width_eps = m_width / 1024.0;
158 }
159
160 //-----------------------------------------------------------------------
161 template<class VC> void math_stroke<VC>::miter_limit_theta(double t)

Callers 15

expandMethod · 0.45
renderMethod · 0.45
blur_xMethod · 0.45
stack_blur_gray8Function · 0.45
stack_blur_rgb24Function · 0.45
stack_blur_rgba32Function · 0.45
blur_xMethod · 0.45
pixelMethod · 0.45
combine_pixelMethod · 0.45
fill_hspanMethod · 0.45
combine_hspanMethod · 0.45
fill_vspanMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected