Hello, I'm trying to understand if i may use the Drawing module to draw and fill (with a color) arbitrary shapes.
Well, not really arbitrary, I'm actually wondering if I can write code to convert an SVG consisting of paths with 'curveto' cubic Bézier curve in a DrawShape.
But I see that I can't use all the shapes available as DrawItem subclasses, DrawCurve for instance, for cubic bezier curves, because in the DrawShape commands the only curve is 'circleto'.
Obviously I may draw my shape using multiple DrawItem objects, but then I can't fill the resulting (closed) shape.
Is it true that I'm out of luck, or am I missing something?
Well, not really arbitrary, I'm actually wondering if I can write code to convert an SVG consisting of paths with 'curveto' cubic Bézier curve in a DrawShape.
But I see that I can't use all the shapes available as DrawItem subclasses, DrawCurve for instance, for cubic bezier curves, because in the DrawShape commands the only curve is 'circleto'.
Obviously I may draw my shape using multiple DrawItem objects, but then I can't fill the resulting (closed) shape.
Is it true that I'm out of luck, or am I missing something?
Comment