John Cupitt
538aa2a841
remove autotools ( #2941 )
...
* remove autotools
It seems to all work. I tested with gtk-doc enabled. I probably missed a
few things argh.
* oop, forgot m4/
2022-07-24 11:14:52 +01:00
John Cupitt
d9f31be67d
configure should add meson files to make dist
...
add meson.build etc. to EXTRA_DIST
see https://github.com/libvips/libvips/issues/2876
2022-06-20 15:04:33 +01:00
Kleis Auke Wolthuizen
bae0342d95
Update C++ binding and function list ( #2851 )
...
* Update C++ binding and function list
Also, start with a capital letter in descriptions whenever possible.
* Ensure `dzsave_target` is generated
2022-06-10 14:43:44 +01:00
Kleis Auke Wolthuizen
07edfe37b1
Improve symbol visibility ( #2688 )
...
* Improve symbol visibility
* Decorate required internal symbols with VIPS_API
* Remove a couple of stray header decls
* Incorporate review comment
- Ensure symbol visibility is also set on static libraries.
- Prefer to use `cc.has_function_attribute('visibility:hidden')`.
* Don't export internal deprecated symbols
* Move deprecated symbols to vips7compat.h
* `IM_FORMAT_H` -> `VIPS_FORMAT_H`
* Move `vips_window_ref` compat stub to `vips7compat.c`
* Disable deprecation warnings internally
* `vips_image_get_kill` -> `vips_image_iskilled`
* Ensure API compatibility
* Add missing include directives
* Move `vips__init` decl to vips7compat
* Move `vips__get_sizeof_vipsobject` to vips7compat
* Fix introspection build
* Fix 2 introspection warnings
* Ensure compatibility with vipsdisp
/usr/bin/ld: tilesource.o: in function `tile_source_new_from_source':
vipsdisp/tilesource.c:1627: undefined reference to `vips__region_no_ownership'
2022-04-16 10:58:55 +01:00
John Cupitt
1b97b52318
clarify draw docs
...
see https://github.com/libvips/libvips/discussions/2733
2022-03-22 10:03:36 +00:00
Kleis Auke Wolthuizen
0337c09700
Cleanup gettext handling ( #2695 )
...
Use GLib's i18n support instead of copying and pasting that
logic into its own header. This deprecates the vips/intl.h
header in favour of glib/gi18n.h.
2022-02-27 15:27:28 +00:00
Corentin Noël
02901436d4
Add meson build system ( #2637 )
...
Allows to use the Meson build system to build the project.
2022-02-08 15:19:36 +00:00
John Cupitt
44db1742fd
tiny doc polish
2020-05-19 14:31:22 +01:00
John Cupitt
471ec9bcc0
fix flood fill on some complex shapes
...
could fail to paint everything sometimes
2020-04-05 12:33:55 +01:00
John Cupitt
a50405c1f7
fix some run-time errors from clang
...
Travis is now running with some amount of run-time checking enabled and
it spotted a couple of harmless things.
2019-12-05 14:14:27 +00:00
John Cupitt
cb37089c9b
seems to work
2017-11-01 13:16:36 +00:00
Alistair Thomas
12b3c66d7c
Update GObject introspection annotations for libvips/draw directory
2017-09-30 21:26:52 +01:00
John Cupitt
34970d0cf2
remove some casts
...
and use VIPS_AREA instead
2017-07-26 14:57:27 +01:00
John Cupitt
cbd9fad040
fix a few more problems with input args
...
a few other operators were modifying input args and messing up caching
2017-05-29 18:58:24 +01:00
John Cupitt
1ae92bb15f
make optional args into bullets
...
make docs easier to read
2016-05-02 10:12:37 +01:00
John Cupitt
c36d7f1d14
tweak draw docs again
...
see https://github.com/jcupitt/libvips/issues/411
2016-04-06 15:11:44 +01:00
John Cupitt
bf1c8707c7
better draw docs
...
add a caching discussion to the start of draw
see https://github.com/jcupitt/libvips/issues/411
2016-04-06 10:26:53 +01:00
John Cupitt
07a1903390
use g_assert_not_reached()
...
we were using g_assert(0) ... g_assert_not_reached() makes the
intention clearer
2016-01-24 13:21:53 +00:00
John Cupitt
2a82286dad
more oopses from coverity
2015-09-30 10:08:36 +01:00
John Cupitt
12269a9a5e
oops dropped one
2015-04-24 15:03:46 +01:00
John Cupitt
a00db6c8f1
doc cleanups
2015-04-24 12:49:50 +01:00
John Cupitt
ef3f588b37
fix caps inconsistency
2015-04-20 09:53:13 +01:00
John Cupitt
70b60e1dd5
tiny cleanup
2015-01-22 13:19:21 +00:00
John Cupitt
29fa54444e
add a function list to docs
...
lists all C functions and their vips operators
2015-01-02 12:39:20 +00:00
John Cupitt
394149e9e8
fix all docs warnings
2014-11-17 10:32:40 +00:00
John Cupitt
be4ffa6d8a
more pyvips8 docs
...
and cleanups of various small doc markup errors
2014-11-07 14:49:18 +00:00
John Cupitt
c4a3e9a1a0
add VIPS_ARGUMENT_MODIFY
...
a flag for arguments meaning the operator will modify an input
the python binding uses this to take a copy of the arg before calling
2014-09-15 14:47:34 +01:00
John Cupitt
6f8b5c6745
bring the rest of the API into python
2014-09-05 23:18:16 +01:00
John Cupitt
a370e5003e
vips array types are more binding-friendly
...
this all works now:
```python
from gi.repository import Vips
a = Vips.ArrayDouble.new([1,2,3])
a.get()
a = Vips.ArrayInt.new([1,2,3])
a.get()
a = Vips.ArrayImage.new([c, d, e])
a.get()
```
2014-08-31 10:41:53 +01:00
John Cupitt
21f18ce0d2
forgot to set image mode for direct draw
...
the direct image draw functions need to set vips_image_inplace()
2014-04-15 12:00:01 +01:00
John Cupitt
ee53b01886
vips_hough_circle() added
2014-04-01 12:27:15 +01:00
John Cupitt
a7e6c6e009
finish revising draw_line
2014-03-31 16:28:00 +01:00
John Cupitt
d52d027c1a
start another draw cleanup
2014-03-31 14:56:33 +01:00
John Cupitt
a1e3a9e5cf
clean up draw_circle
...
we now have a simple iterator
2014-03-31 14:03:45 +01:00
John Cupitt
15ba4a7be2
add a direct path for draw_mask
...
and get draw_circle ready for draw-along-circle
2014-03-29 17:16:37 +00:00
John Cupitt
9b13188fc1
add "mode" to vips_draw_image()
2014-03-28 13:55:56 +00:00
John Cupitt
b522fd79a9
start to extend draw_image
2014-03-27 15:00:29 +00:00
John Cupitt
7752eb89e0
add vips_draw_add()
...
and start vips_hough_circle()
2014-03-26 20:33:31 +00:00
John Cupitt
df225a97ff
small fixes
2014-03-17 13:56:55 +00:00
John Cupitt
1002d4da52
vips__vector_to_ink() has an imag parameter
2014-02-22 16:26:42 +00:00
John Cupitt
1414958b00
oops put drawink_scanline back
2014-02-18 16:23:16 +00:00
John Cupitt
36c6654374
improve direct path for flood
2014-02-17 19:42:58 +00:00
John Cupitt
c5a48effa2
flood direct path fixed
...
but still too slow
2014-02-14 13:55:55 +00:00
John Cupitt
3277e26e65
add a direct path to flood for labelregions
2014-02-14 10:29:09 +00:00
John Cupitt
025e56c894
im_label_regions() is a class
2014-02-11 14:55:31 +00:00
John Cupitt
487e6ed95e
break ink out to a draw subclass
2014-02-11 13:57:28 +00:00
John Cupitt
f4e970fb72
im_draw_smudge() done
2014-02-11 13:28:13 +00:00
John Cupitt
25fbe71c74
do im_read_point() / im_draw_point()
2014-02-10 21:54:54 +00:00
John Cupitt
4c732ce369
im_draw_point() -> vips8
2014-02-10 13:00:04 +00:00
John Cupitt
6b54181707
rename draw funcs
...
more consistent now
2014-02-10 11:59:05 +00:00