Path API
#150
Replies: 1 comment
-
The mutating functions are actively discouraged since they go against the demand driven, horizontally threaded architecture of LibVips. Composition is much preferred so the functions in Image.Shape are preferred. But that module isn’t fully built out as you would see (although PRs are sure welcome).Sent from my iPhoneOn 19 Jul 2024, at 00:13, Robert Felker ***@***.***> wrote:
Hi!
Vix expose drawline() and we can then offer a Path wrapper on top.
p = Path()
p.move(2,2)
p.line(4,4)
p.close
Image.Draw.path(p)
Thoughts?
Thank you.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Vix expose
drawline()
and we can then offer a Path wrapper on top.Thoughts?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions