behdad / glyphy

GLyphy is a signed-distance-field (SDF) text renderer using OpenGL ES2 shading language.
Other
663 stars 76 forks source link

api misnomer #57

Open matthiasclasen opened 1 year ago

matthiasclasen commented 1 year ago

Glyphy has glyphy_arc_accumulator_cubic_to and glyphy_arc_accumulator_conic_to.

The cubic_to method is as expected, it creates a cubic Bézier segment.

The conic_to method however, just creates a quadratic Bézier, not a rational quadratic one, as the name would suggest.

behdad commented 1 year ago

Humm, yeah. I don't know where I got that name from.

khaledhosny commented 1 year ago

Humm, yeah. I don't know where I got that name from.

FreeType? https://freetype.org/freetype2/docs/reference/ft2-outline_processing.html#ft_outline_funcs

behdad commented 1 year ago

Humm, yeah. I don't know where I got that name from.

FreeType? https://freetype.org/freetype2/docs/reference/ft2-outline_processing.html#ft_outline_funcs

Definitely.