| 82 | } |
| 83 | |
| 84 | static int ftConicTo(const FT_Vector *control, const FT_Vector *to, void *user) { |
| 85 | FtContext *context = reinterpret_cast<FtContext *>(user); |
| 86 | Point2 endpoint = ftPoint2(*to, context->scale); |
| 87 | if (endpoint != context->position) { |
| 88 | context->contour->addEdge(EdgeHolder(context->position, ftPoint2(*control, context->scale), endpoint)); |
| 89 | context->position = endpoint; |
| 90 | } |
| 91 | return 0; |
| 92 | } |
| 93 | |
| 94 | static int ftCubicTo(const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user) { |
| 95 | FtContext *context = reinterpret_cast<FtContext *>(user); |
nothing calls this directly
no test coverage detected