1

I am drawing rather complicated diagram in GIMP. There is number of curved lines. Is it possible to somehow get equation of stroked path? I am using that image in little program, where I need to check if point with with given X and Y coordinate is below, or above this curved line.

Image (stroked path is indicated with black arrows):

enter image description here

Is it possible to get equation of stroked path in GIMP?

1 Answer 1

1

The Gimp paths are sequences of cubic Bezier curves. Assuming your curve is defined with only two anchors and two tangents, you can easily write the equivalent equation if you have the coordinates of these four points.

Btw, you should really be using Inkscape for this...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.