| 3074 | } |
| 3075 | |
| 3076 | BezierCPPtr |
| 3077 | Bezier::getControlPointAtIndex(int index) const |
| 3078 | { |
| 3079 | QMutexLocker l(&itemMutex); |
| 3080 | |
| 3081 | if ( (index < 0) || ( index >= (int)_imp->points.size() ) ) { |
| 3082 | return BezierCPPtr(); |
| 3083 | } |
| 3084 | |
| 3085 | BezierCPs::const_iterator it = _imp->points.begin(); |
| 3086 | std::advance(it, index); |
| 3087 | |
| 3088 | return *it; |
| 3089 | } |
| 3090 | |
| 3091 | BezierCPPtr |
| 3092 | Bezier::getFeatherPointAtIndex(int index) const |
no test coverage detected