@img/sharp-libvips-dev 1.1.0 → 1.2.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/cplusplus/vips-operators.cpp +39 -0
  2. package/include/archive.h +53 -2
  3. package/include/archive_entry.h +56 -25
  4. package/include/ffi.h +20 -2
  5. package/include/fontconfig/fontconfig.h +1 -1
  6. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  7. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  8. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  9. package/include/glib-2.0/girepository/gitypes.h +6 -0
  10. package/include/glib-2.0/glib/gbitlock.h +11 -0
  11. package/include/glib-2.0/glib/gdate.h +6 -0
  12. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  13. package/include/glib-2.0/glib/gmain.h +13 -10
  14. package/include/glib-2.0/glib/gmessages.h +4 -1
  15. package/include/glib-2.0/glib/gstring.h +2 -0
  16. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  17. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  18. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  19. package/include/harfbuzz/hb-common.h +1 -431
  20. package/include/harfbuzz/hb-deprecated.h +80 -2
  21. package/include/harfbuzz/hb-draw.h +2 -10
  22. package/include/harfbuzz/hb-face.h +1 -1
  23. package/include/harfbuzz/hb-font.h +55 -36
  24. package/include/harfbuzz/hb-paint.h +5 -3
  25. package/include/harfbuzz/hb-script-list.h +484 -0
  26. package/include/harfbuzz/hb-subset.h +22 -2
  27. package/include/harfbuzz/hb-version.h +3 -3
  28. package/include/libheif/heif.h +2 -0
  29. package/include/libheif/heif_version.h +2 -2
  30. package/include/libpng16/png.h +10 -10
  31. package/include/libpng16/pngconf.h +20 -27
  32. package/include/libpng16/pnglibconf.h +1 -1
  33. package/include/libxml2/libxml/HTMLparser.h +2 -2
  34. package/include/libxml2/libxml/parser.h +2 -0
  35. package/include/libxml2/libxml/xmlIO.h +2 -2
  36. package/include/libxml2/libxml/xmlerror.h +1 -1
  37. package/include/libxml2/libxml/xmlversion.h +4 -4
  38. package/include/pixman-1/pixman-version.h +2 -2
  39. package/include/pixman-1/pixman.h +200 -0
  40. package/include/png.h +10 -10
  41. package/include/pngconf.h +20 -27
  42. package/include/pnglibconf.h +1 -1
  43. package/include/vips/VImage8.h +62 -14
  44. package/include/vips/arithmetic.h +34 -34
  45. package/include/vips/basic.h +16 -0
  46. package/include/vips/buf.h +0 -5
  47. package/include/vips/colour.h +6 -7
  48. package/include/vips/connection.h +25 -37
  49. package/include/vips/enumtypes.h +11 -2
  50. package/include/vips/foreign.h +73 -43
  51. package/include/vips/format.h +7 -5
  52. package/include/vips/gate.h +0 -11
  53. package/include/vips/header.h +11 -11
  54. package/include/vips/image.h +8 -3
  55. package/include/vips/interpolate.h +0 -2
  56. package/include/vips/memory.h +4 -0
  57. package/include/vips/mosaicing.h +4 -0
  58. package/include/vips/object.h +14 -18
  59. package/include/vips/operation.h +0 -2
  60. package/include/vips/private.h +50 -2
  61. package/include/vips/region.h +1 -3
  62. package/include/vips/resample.h +2 -0
  63. package/include/vips/semaphore.h +8 -3
  64. package/include/vips/thread.h +1 -24
  65. package/include/vips/threadpool.h +0 -6
  66. package/include/vips/type.h +13 -9
  67. package/include/vips/util.h +17 -98
  68. package/include/vips/vector.h +0 -4
  69. package/include/vips/version.h +8 -8
  70. package/include/vips/vips.h +1 -0
  71. package/package.json +1 -1
  72. package/versions.json +11 -11
  73. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
  74. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
  75. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
  76. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
  77. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
  78. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
  79. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
  80. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
  81. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
  82. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
  83. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
  84. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
  85. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
  86. package/include/glib-2.0/glib/gwin32.h +0 -142
  87. package/include/harfbuzz/hb-subset-repacker.h +0 -81
  88. package/include/hwy/ops/tuple-inl.h +0 -125
  89. package/include/orc-0.4/orc/orc-stdint.h +0 -1
  90. package/include/orc-0.4/orc/orc.h +0 -16
  91. package/include/orc-0.4/orc/orcarm.h +0 -879
  92. package/include/orc-0.4/orc/orcbytecode.h +0 -35
  93. package/include/orc-0.4/orc/orcbytecodes.h +0 -255
  94. package/include/orc-0.4/orc/orccode.h +0 -53
  95. package/include/orc-0.4/orc/orccompiler.h +0 -176
  96. package/include/orc-0.4/orc/orcconstant.h +0 -39
  97. package/include/orc-0.4/orc/orccpu.h +0 -21
  98. package/include/orc-0.4/orc/orccpuinsn.h +0 -40
  99. package/include/orc-0.4/orc/orcdebug.h +0 -158
  100. package/include/orc-0.4/orc/orcemulateopcodes.h +0 -203
  101. package/include/orc-0.4/orc/orcexecutor.h +0 -135
  102. package/include/orc-0.4/orc/orcfunctions.h +0 -93
  103. package/include/orc-0.4/orc/orcinstruction.h +0 -39
  104. package/include/orc-0.4/orc/orcinternal.h +0 -46
  105. package/include/orc-0.4/orc/orclimits.h +0 -94
  106. package/include/orc-0.4/orc/orcmips.h +0 -229
  107. package/include/orc-0.4/orc/orcmmx.h +0 -79
  108. package/include/orc-0.4/orc/orcneon.h +0 -43
  109. package/include/orc-0.4/orc/orconce.h +0 -166
  110. package/include/orc-0.4/orc/orcopcode.h +0 -63
  111. package/include/orc-0.4/orc/orcparse.h +0 -27
  112. package/include/orc-0.4/orc/orcpowerpc.h +0 -209
  113. package/include/orc-0.4/orc/orcprogram.h +0 -192
  114. package/include/orc-0.4/orc/orcrule.h +0 -52
  115. package/include/orc-0.4/orc/orcsse.h +0 -55
  116. package/include/orc-0.4/orc/orctarget.h +0 -115
  117. package/include/orc-0.4/orc/orcutils.h +0 -238
  118. package/include/orc-0.4/orc/orcvariable.h +0 -81
  119. package/include/orc-0.4/orc/orcx86.h +0 -199
  120. package/include/orc-0.4/orc/orcx86insn.h +0 -672
@@ -275,6 +275,48 @@ typedef void (*hb_font_get_glyph_shape_func_t) (hb_font_t *font, void *font_data
275
275
  hb_draw_funcs_t *draw_funcs, void *draw_data,
276
276
  void *user_data);
277
277
 
278
+ /**
279
+ * hb_font_draw_glyph_func_t:
280
+ * @font: #hb_font_t to work upon
281
+ * @font_data: @font user data pointer
282
+ * @glyph: The glyph ID to query
283
+ * @draw_funcs: The draw functions to send the shape data to
284
+ * @draw_data: The data accompanying the draw functions
285
+ * @user_data: User data pointer passed by the caller
286
+ *
287
+ * A virtual method for the #hb_font_funcs_t of an #hb_font_t object.
288
+ *
289
+ * Since: 7.0.0
290
+ * XDeprecated: REPLACEME: Use hb_font_draw_glyph_func_or_fail_t instead.
291
+ **/
292
+ typedef void (*hb_font_draw_glyph_func_t) (hb_font_t *font, void *font_data,
293
+ hb_codepoint_t glyph,
294
+ hb_draw_funcs_t *draw_funcs, void *draw_data,
295
+ void *user_data);
296
+
297
+ /**
298
+ * hb_font_paint_glyph_func_t:
299
+ * @font: #hb_font_t to work upon
300
+ * @font_data: @font user data pointer
301
+ * @glyph: The glyph ID to query
302
+ * @paint_funcs: The paint functions to use
303
+ * @paint_data: The data accompanying the paint functions
304
+ * @palette_index: The color palette to use
305
+ * @foreground: The foreground color
306
+ * @user_data: User data pointer passed by the caller
307
+ *
308
+ * A virtual method for the #hb_font_funcs_t of an #hb_font_t object.
309
+ *
310
+ * Since: 7.0.0
311
+ * XDeprecated: REPLACEME: Use hb_font_paint_glyph_or_fail_func_t instead.
312
+ */
313
+ typedef hb_bool_t (*hb_font_paint_glyph_func_t) (hb_font_t *font, void *font_data,
314
+ hb_codepoint_t glyph,
315
+ hb_paint_funcs_t *paint_funcs, void *paint_data,
316
+ unsigned int palette_index,
317
+ hb_color_t foreground,
318
+ void *user_data);
319
+
278
320
  /**
279
321
  * hb_font_funcs_set_glyph_shape_func:
280
322
  * @ffuncs: A font-function structure
@@ -288,13 +330,49 @@ typedef void (*hb_font_get_glyph_shape_func_t) (hb_font_t *font, void *font_data
288
330
  * Since: 4.0.0
289
331
  * Deprecated: 7.0.0: Use hb_font_funcs_set_draw_glyph_func() instead
290
332
  **/
291
- HB_DEPRECATED_FOR (hb_font_funcs_set_draw_glyph_func)
333
+ HB_DEPRECATED_FOR (hb_font_funcs_set_draw_glyph_or_fail_func)
292
334
  HB_EXTERN void
293
335
  hb_font_funcs_set_glyph_shape_func (hb_font_funcs_t *ffuncs,
294
336
  hb_font_get_glyph_shape_func_t func,
295
337
  void *user_data, hb_destroy_func_t destroy);
296
338
 
297
- HB_DEPRECATED_FOR (hb_font_draw_glyph)
339
+ /**
340
+ * hb_font_funcs_set_draw_glyph_func:
341
+ * @ffuncs: A font-function structure
342
+ * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign
343
+ * @user_data: Data to pass to @func
344
+ * @destroy: (nullable): The function to call when @user_data is not needed anymore
345
+ *
346
+ * Sets the implementation function for #hb_font_draw_glyph_func_t.
347
+ *
348
+ * Since: 7.0.0
349
+ * XDeprecated: REPLACEME: Use hb_font_funcs_set_draw_glyph_or_fail_func instead.
350
+ **/
351
+ HB_DEPRECATED_FOR (hb_font_funcs_set_draw_glyph_or_fail_func)
352
+ HB_EXTERN void
353
+ hb_font_funcs_set_draw_glyph_func (hb_font_funcs_t *ffuncs,
354
+ hb_font_draw_glyph_func_t func,
355
+ void *user_data, hb_destroy_func_t destroy);
356
+
357
+ /**
358
+ * hb_font_funcs_set_paint_glyph_func:
359
+ * @ffuncs: A font-function structure
360
+ * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign
361
+ * @user_data: Data to pass to @func
362
+ * @destroy: (nullable): The function to call when @user_data is no longer needed
363
+ *
364
+ * Sets the implementation function for #hb_font_paint_glyph_func_t.
365
+ *
366
+ * Since: 7.0.0
367
+ * XDeprecated: REPLACEME: Use hb_font_funcs_set_paint_glyph_or_fail_func() instead.
368
+ */
369
+ HB_DEPRECATED_FOR (hb_font_funcs_set_paint_glyph_or_fail_func)
370
+ HB_EXTERN void
371
+ hb_font_funcs_set_paint_glyph_func (hb_font_funcs_t *ffuncs,
372
+ hb_font_paint_glyph_func_t func,
373
+ void *user_data, hb_destroy_func_t destroy);
374
+
375
+ HB_DEPRECATED_FOR (hb_font_draw_glyph_or_fail)
298
376
  HB_EXTERN void
299
377
  hb_font_get_glyph_shape (hb_font_t *font,
300
378
  hb_codepoint_t glyph,
@@ -41,16 +41,9 @@ HB_BEGIN_DECLS
41
41
  * @path_start_y: Y component of the start of current path
42
42
  * @current_x: X component of current point
43
43
  * @current_y: Y component of current point
44
- * @slant_xy: (Since: 11.0.0): Slanting factor for synthetic oblique
45
44
  *
46
45
  * Current drawing state.
47
46
  *
48
- * The @slant_xy is a slanting factor for synthetic oblique. If the font's
49
- * oblique angle is not 0, this factor is used to slant the drawing. For
50
- * fonts with uniform x and y scales, this factor is calculated as
51
- * tan(oblique_angle). For fonts with non-uniform scales, this factor is
52
- * calculated as tan(oblique_angle) * x_scale / y_scale, or 0 if y_scale is 0.
53
- *
54
47
  * Since: 4.0.0
55
48
  **/
56
49
  typedef struct hb_draw_state_t {
@@ -62,8 +55,6 @@ typedef struct hb_draw_state_t {
62
55
  float current_x;
63
56
  float current_y;
64
57
 
65
- float slant_xy;
66
-
67
58
  /*< private >*/
68
59
  hb_var_num_t reserved1;
69
60
  hb_var_num_t reserved2;
@@ -71,6 +62,7 @@ typedef struct hb_draw_state_t {
71
62
  hb_var_num_t reserved4;
72
63
  hb_var_num_t reserved5;
73
64
  hb_var_num_t reserved6;
65
+ hb_var_num_t reserved7;
74
66
  } hb_draw_state_t;
75
67
 
76
68
  /**
@@ -78,7 +70,7 @@ typedef struct hb_draw_state_t {
78
70
  *
79
71
  * The default #hb_draw_state_t at the start of glyph drawing.
80
72
  */
81
- #define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, 0.f, {0.}, {0.}, {0.}, {0.}, {0.}, {0.}}
73
+ #define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, {0}, {0}, {0}, {0}, {0}, {0}, {0}}
82
74
 
83
75
 
84
76
  /**
@@ -131,7 +131,7 @@ HB_EXTERN void
131
131
  hb_face_make_immutable (hb_face_t *face);
132
132
 
133
133
  HB_EXTERN hb_bool_t
134
- hb_face_is_immutable (const hb_face_t *face);
134
+ hb_face_is_immutable (hb_face_t *face);
135
135
 
136
136
 
137
137
  HB_EXTERN hb_blob_t *
@@ -486,7 +486,7 @@ typedef hb_bool_t (*hb_font_get_glyph_from_name_func_t) (hb_font_t *font, void *
486
486
  void *user_data);
487
487
 
488
488
  /**
489
- * hb_font_draw_glyph_func_t:
489
+ * hb_font_draw_glyph_or_fail_func_t:
490
490
  * @font: #hb_font_t to work upon
491
491
  * @font_data: @font user data pointer
492
492
  * @glyph: The glyph ID to query
@@ -496,16 +496,17 @@ typedef hb_bool_t (*hb_font_get_glyph_from_name_func_t) (hb_font_t *font, void *
496
496
  *
497
497
  * A virtual method for the #hb_font_funcs_t of an #hb_font_t object.
498
498
  *
499
- * Since: 7.0.0
499
+ * Return value: `true` if glyph was drawn, `false` otherwise
500
500
  *
501
+ * XSince: REPLACEME
501
502
  **/
502
- typedef void (*hb_font_draw_glyph_func_t) (hb_font_t *font, void *font_data,
503
- hb_codepoint_t glyph,
504
- hb_draw_funcs_t *draw_funcs, void *draw_data,
505
- void *user_data);
503
+ typedef hb_bool_t (*hb_font_draw_glyph_or_fail_func_t) (hb_font_t *font, void *font_data,
504
+ hb_codepoint_t glyph,
505
+ hb_draw_funcs_t *draw_funcs, void *draw_data,
506
+ void *user_data);
506
507
 
507
508
  /**
508
- * hb_font_paint_glyph_func_t:
509
+ * hb_font_paint_glyph_or_fail_func_t:
509
510
  * @font: #hb_font_t to work upon
510
511
  * @font_data: @font user data pointer
511
512
  * @glyph: The glyph ID to query
@@ -517,14 +518,16 @@ typedef void (*hb_font_draw_glyph_func_t) (hb_font_t *font, void *font_data,
517
518
  *
518
519
  * A virtual method for the #hb_font_funcs_t of an #hb_font_t object.
519
520
  *
520
- * Since: 7.0.0
521
+ * Return value: `true` if glyph was painted, `false` otherwise
522
+ *
523
+ * XSince: REPLACEME
521
524
  */
522
- typedef void (*hb_font_paint_glyph_func_t) (hb_font_t *font, void *font_data,
523
- hb_codepoint_t glyph,
524
- hb_paint_funcs_t *paint_funcs, void *paint_data,
525
- unsigned int palette_index,
526
- hb_color_t foreground,
527
- void *user_data);
525
+ typedef hb_bool_t (*hb_font_paint_glyph_or_fail_func_t) (hb_font_t *font, void *font_data,
526
+ hb_codepoint_t glyph,
527
+ hb_paint_funcs_t *paint_funcs, void *paint_data,
528
+ unsigned int palette_index,
529
+ hb_color_t foreground,
530
+ void *user_data);
528
531
 
529
532
  /* func setters */
530
533
 
@@ -785,36 +788,36 @@ hb_font_funcs_set_glyph_from_name_func (hb_font_funcs_t *ffuncs,
785
788
  void *user_data, hb_destroy_func_t destroy);
786
789
 
787
790
  /**
788
- * hb_font_funcs_set_draw_glyph_func:
791
+ * hb_font_funcs_set_draw_glyph_or_fail_func:
789
792
  * @ffuncs: A font-function structure
790
793
  * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign
791
794
  * @user_data: Data to pass to @func
792
795
  * @destroy: (nullable): The function to call when @user_data is not needed anymore
793
796
  *
794
- * Sets the implementation function for #hb_font_draw_glyph_func_t.
797
+ * Sets the implementation function for #hb_font_draw_glyph_or_fail_func_t.
795
798
  *
796
- * Since: 7.0.0
799
+ * XSince: REPLACEME
797
800
  **/
798
801
  HB_EXTERN void
799
- hb_font_funcs_set_draw_glyph_func (hb_font_funcs_t *ffuncs,
800
- hb_font_draw_glyph_func_t func,
801
- void *user_data, hb_destroy_func_t destroy);
802
+ hb_font_funcs_set_draw_glyph_or_fail_func (hb_font_funcs_t *ffuncs,
803
+ hb_font_draw_glyph_or_fail_func_t func,
804
+ void *user_data, hb_destroy_func_t destroy);
802
805
 
803
806
  /**
804
- * hb_font_funcs_set_paint_glyph_func:
807
+ * hb_font_funcs_set_paint_glyph_or_fail_func:
805
808
  * @ffuncs: A font-function structure
806
809
  * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign
807
810
  * @user_data: Data to pass to @func
808
811
  * @destroy: (nullable): The function to call when @user_data is no longer needed
809
812
  *
810
- * Sets the implementation function for #hb_font_paint_glyph_func_t.
813
+ * Sets the implementation function for #hb_font_paint_glyph_or_fail_func_t.
811
814
  *
812
- * Since: 7.0.0
815
+ * XSince: REPLACEME
813
816
  */
814
817
  HB_EXTERN void
815
- hb_font_funcs_set_paint_glyph_func (hb_font_funcs_t *ffuncs,
816
- hb_font_paint_glyph_func_t func,
817
- void *user_data, hb_destroy_func_t destroy);
818
+ hb_font_funcs_set_paint_glyph_or_fail_func (hb_font_funcs_t *ffuncs,
819
+ hb_font_paint_glyph_or_fail_func_t func,
820
+ void *user_data, hb_destroy_func_t destroy);
818
821
 
819
822
  /* func dispatch */
820
823
 
@@ -896,17 +899,17 @@ hb_font_get_glyph_from_name (hb_font_t *font,
896
899
  const char *name, int len, /* -1 means nul-terminated */
897
900
  hb_codepoint_t *glyph);
898
901
 
899
- HB_EXTERN void
900
- hb_font_draw_glyph (hb_font_t *font,
901
- hb_codepoint_t glyph,
902
- hb_draw_funcs_t *dfuncs, void *draw_data);
902
+ HB_EXTERN hb_bool_t
903
+ hb_font_draw_glyph_or_fail (hb_font_t *font,
904
+ hb_codepoint_t glyph,
905
+ hb_draw_funcs_t *dfuncs, void *draw_data);
903
906
 
904
- HB_EXTERN void
905
- hb_font_paint_glyph (hb_font_t *font,
906
- hb_codepoint_t glyph,
907
- hb_paint_funcs_t *pfuncs, void *paint_data,
908
- unsigned int palette_index,
909
- hb_color_t foreground);
907
+ HB_EXTERN hb_bool_t
908
+ hb_font_paint_glyph_or_fail (hb_font_t *font,
909
+ hb_codepoint_t glyph,
910
+ hb_paint_funcs_t *pfuncs, void *paint_data,
911
+ unsigned int palette_index,
912
+ hb_color_t foreground);
910
913
 
911
914
  /* high-level funcs, with fallback */
912
915
 
@@ -979,6 +982,19 @@ hb_font_glyph_from_string (hb_font_t *font,
979
982
  const char *s, int len, /* -1 means nul-terminated */
980
983
  hb_codepoint_t *glyph);
981
984
 
985
+ /* Older alias for hb_font_draw_glyph_or_fail() with no return value. */
986
+ HB_EXTERN void
987
+ hb_font_draw_glyph (hb_font_t *font,
988
+ hb_codepoint_t glyph,
989
+ hb_draw_funcs_t *dfuncs, void *draw_data);
990
+
991
+ /* Paints color glyph; if failed, draws outline glyph. */
992
+ HB_EXTERN void
993
+ hb_font_paint_glyph (hb_font_t *font,
994
+ hb_codepoint_t glyph,
995
+ hb_paint_funcs_t *pfuncs, void *paint_data,
996
+ unsigned int palette_index,
997
+ hb_color_t foreground);
982
998
 
983
999
  /*
984
1000
  * hb_font_t
@@ -1092,6 +1108,9 @@ hb_font_set_ptem (hb_font_t *font, float ptem);
1092
1108
  HB_EXTERN float
1093
1109
  hb_font_get_ptem (hb_font_t *font);
1094
1110
 
1111
+ HB_EXTERN hb_bool_t
1112
+ hb_font_is_synthetic (hb_font_t *font);
1113
+
1095
1114
  HB_EXTERN void
1096
1115
  hb_font_set_synthetic_bold (hb_font_t *font,
1097
1116
  float x_embolden, float y_embolden,
@@ -167,8 +167,10 @@ typedef hb_bool_t (*hb_paint_color_glyph_func_t) (hb_paint_funcs_t *funcs,
167
167
  * A virtual method for the #hb_paint_funcs_t to clip
168
168
  * subsequent paint calls to the outline of a glyph.
169
169
  *
170
- * The coordinates of the glyph outline are interpreted according
171
- * to the current transform.
170
+ * The coordinates of the glyph outline are expected in the
171
+ * current @font scale (ie. the results of calling
172
+ * hb_font_draw_glyph() with @font). The outline is
173
+ * transformed by the current transform.
172
174
  *
173
175
  * This clip is applied in addition to the current clip,
174
176
  * and remains in effect until a matching call to
@@ -281,7 +283,7 @@ typedef void (*hb_paint_color_func_t) (hb_paint_funcs_t *funcs,
281
283
  * @width: width of the raster image in pixels, or 0
282
284
  * @height: height of the raster image in pixels, or 0
283
285
  * @format: the image format as a tag
284
- * @slant: the synthetic slant ratio to be applied to the image during rendering
286
+ * @slant: Deprecated. Always set to 0.0.
285
287
  * @extents: (nullable): glyph extents for desired rendering
286
288
  * @user_data: User data pointer passed to hb_paint_funcs_set_image_func()
287
289
  *