| 72 | } |
| 73 | |
| 74 | static int ftLineTo(const FT_Vector *to, void *user) { |
| 75 | FtContext *context = reinterpret_cast<FtContext *>(user); |
| 76 | Point2 endpoint = ftPoint2(*to, context->scale); |
| 77 | if (endpoint != context->position) { |
| 78 | context->contour->addEdge(EdgeHolder(context->position, endpoint)); |
| 79 | context->position = endpoint; |
| 80 | } |
| 81 | return 0; |
| 82 | } |
| 83 | |
| 84 | static int ftConicTo(const FT_Vector *control, const FT_Vector *to, void *user) { |
| 85 | FtContext *context = reinterpret_cast<FtContext *>(user); |
nothing calls this directly
no test coverage detected