---------------------------------------------------------------------
| 206 | |
| 207 | //--------------------------------------------------------------------- |
| 208 | void init(double r, double fx, double fy) |
| 209 | { |
| 210 | m_r = iround(r * gradient_subpixel_scale); |
| 211 | m_fx = iround(fx * gradient_subpixel_scale); |
| 212 | m_fy = iround(fy * gradient_subpixel_scale); |
| 213 | update_values(); |
| 214 | } |
| 215 | |
| 216 | //--------------------------------------------------------------------- |
| 217 | double radius() const { return double(m_r) / gradient_subpixel_scale; } |