| 769 | } |
| 770 | |
| 771 | static int ftShape2dConicTo(const FT_Vector *control, const FT_Vector *to, void *user) |
| 772 | { |
| 773 | Shape2d *shape = reinterpret_cast<Shape2d*>(user); |
| 774 | shape->quadTo((float)control->x / 4096.f, (float)control->y / 4096.f, (float)to->x / 4096.f, (float)to->y / 4096.f); |
| 775 | return 0; |
| 776 | } |
| 777 | |
| 778 | static int ftShape2dCubicTo(const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user) |
| 779 | { |