diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-01-30 10:44:12 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-01-30 10:53:43 +0100 |
commit | 2ec51b7010fb1fe7d220e8214567aff015db7a36 (patch) | |
tree | a8edef64d9d09b5b28e4008f0d78e3d0083d3313 /gdk/gdkcairo.c | |
parent | f7cd2a782be43dda118487f41456e6c3dc42437d (diff) | |
download | gtk+-2ec51b7010fb1fe7d220e8214567aff015db7a36.tar.gz |
icon-theme: Update the docs
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r-- | gdk/gdkcairo.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c index 94accf847b..2b2996f8b9 100644 --- a/gdk/gdkcairo.c +++ b/gdk/gdkcairo.c @@ -457,6 +457,18 @@ gdk_cairo_region_from_clip (cairo_t *cr) return region; } +/** + * gdk_cairo_image_surface_recolor: + * @image_surface: a cairo image surface + * @color_matrix: the color matrix to use + * @color_offset: the color offset to use + * + * Modifies the colors of an surfaceimage by applying an affine transformation + * in RGB space. + * + * This is the same operation as in gtk_snapshot_push_color_matrix() but + * always done on the cpu. + */ void gdk_cairo_image_surface_recolor (cairo_surface_t *image_surface, const graphene_matrix_t *color_matrix, |