Commit Graph

11 Commits

Author SHA1 Message Date
1f865a1c43 Add FillRule type 2024-05-11 21:43:19 +03:00
eb982bbf1d Add alias to bindings::MagickBoolean_*
Reduces the amount of repetitive `bindingc::MagickBoolean_*` in wrapper
code
2024-05-11 13:57:29 +03:00
f30dfb43fe add draw_rectangle method 2022-11-13 18:38:59 +01:00
409a583b22 feat: std error compatible error 2021-12-25 02:49:43 +08:00
dcb6046f5b add some methods 2021-12-24 19:37:20 +08:00
51b2cac594 remove use of deprecated item 'try': use the ? operator instead
Signed-off-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>
2020-05-21 12:11:15 +02:00
bd34f145a2 Ran cargo fmt on the code base, looks better
cargo test passes
2018-10-06 15:38:33 -07:00
e7054d3e35 Use the rust-bindgen crate properly
Using the changes from @gadomski along with some additional work, to get the
generated bindings working again. Works on macOS and FreeBSD 11. A couple of
hacks are needed for FreeBSD, but nothing too serious.

Changed to use the libc prefix, and changed to use the generated enums.

Fixes #22, #15, and #14

cargo test passes
2017-04-08 16:03:58 -07:00
2c94dab05a Add license header to contributed files 2016-08-14 18:46:03 -07:00
9d2eba64a3 use size_t and ssize_t types for cross-compilation 2016-05-16 19:03:45 +03:00
9e2285a4aa add drawing and pixel wands; add some methods to MagickWand 2016-05-11 22:12:42 +03:00