Outline of cubic bezier curve stroke

前端 未结 3 1493
天涯浪人
天涯浪人 2020-12-05 00:56

By stroke of the cubic bezier curve I mean rendering a curve \'A\' with a specific line width \'w\'.

How can I derive other cubic bezier curves that describe the out

3条回答
  •  我在风中等你
    2020-12-05 01:33

    Qt's QPainterPathStroker (it's open source and fairly readable code) uses the algorithm described in the aforementioned paper to do what you want.

提交回复
热议问题