MCPcopy Create free account
hub / github.com/cinder/Cinder / ftShape2dConicTo

Function ftShape2dConicTo

src/cinder/Font.cpp:771–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771static 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
778static int ftShape2dCubicTo(const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user)
779{

Callers

nothing calls this directly

Calls 1

quadToMethod · 0.45

Tested by

no test coverage detected