Page 2 of 2

Re: Drawing Smooth Curves

Posted: Mon Dec 03, 2012 8:36 pm
by Przemator
Ref wrote:pattern, repeat = love.graphics.getLineStipple( )
Depreciated in Love 8.0!
Bummer.
Yes, it's deprecated. I was thinking about drawing a stencil in a comb-shaped line, then just draw a curve on it. it means only drawing 2 lines, one on which is a stencil. The problem is to calculate the coords for the comb shape, but once it's done, it can be reused.

Re: Drawing Smooth Curves

Posted: Tue Dec 04, 2012 1:43 pm
by Garan
I don't know if this works, but you could have an image of the curve you want to draw and then morph the image to suit your need (by increasing/decreasing the height/width of it).