[paint] Document color lines as transient

Just so people don't get ideas.
This commit is contained in:
Matthias Clasen 2022-12-23 13:30:26 -05:00 committed by Behdad Esfahbod
parent 15582d5fc1
commit bbb89e62aa
1 changed files with 9 additions and 0 deletions

View File

@ -386,6 +386,9 @@ hb_color_line_get_extend (hb_color_line_t *color_line);
* A virtual method for the #hb_paint_funcs_t to paint a linear * A virtual method for the #hb_paint_funcs_t to paint a linear
* gradient everywhere within the current clip. * gradient everywhere within the current clip.
* *
* The @color_line object contains information about the colors of the gradients.
* It is only valid for the duration of the callback, you cannot keep it around.
*
* The coordinates of the points are interpreted according * The coordinates of the points are interpreted according
* to the current transform. * to the current transform.
* *
@ -419,6 +422,9 @@ typedef void (*hb_paint_linear_gradient_func_t) (hb_paint_funcs_t *funcs,
* A virtual method for the #hb_paint_funcs_t to paint a radial * A virtual method for the #hb_paint_funcs_t to paint a radial
* gradient everywhere within the current clip. * gradient everywhere within the current clip.
* *
* The @color_line object contains information about the colors of the gradients.
* It is only valid for the duration of the callback, you cannot keep it around.
*
* The coordinates of the points are interpreted according * The coordinates of the points are interpreted according
* to the current transform. * to the current transform.
* *
@ -449,6 +455,9 @@ typedef void (*hb_paint_radial_gradient_func_t) (hb_paint_funcs_t *funcs,
* A virtual method for the #hb_paint_funcs_t to paint a sweep * A virtual method for the #hb_paint_funcs_t to paint a sweep
* gradient everywhere within the current clip. * gradient everywhere within the current clip.
* *
* The @color_line object contains information about the colors of the gradients.
* It is only valid for the duration of the callback, you cannot keep it around.
*
* The coordinates of the points are interpreted according * The coordinates of the points are interpreted according
* to the current transform. * to the current transform.
* *