| 64 | } |
| 65 | |
| 66 | static int ftMoveTo(const FT_Vector *to, void *user) { |
| 67 | FtContext *context = reinterpret_cast<FtContext *>(user); |
| 68 | if (!(context->contour && context->contour->edges.empty())) |
| 69 | context->contour = &context->shape->addContour(); |
| 70 | context->position = ftPoint2(*to, context->scale); |
| 71 | return 0; |
| 72 | } |
| 73 | |
| 74 | static int ftLineTo(const FT_Vector *to, void *user) { |
| 75 | FtContext *context = reinterpret_cast<FtContext *>(user); |
nothing calls this directly
no test coverage detected