snapshot: switch to h/vradius

This commit is contained in:
Matthias Clasen 2020-09-12 09:17:02 -04:00 committed by Timm Bäder
parent ebfb3e771d
commit c08df82d54
2 changed files with 12 additions and 12 deletions

View File

@ -1971,8 +1971,8 @@ void
gtk_snapshot_append_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
float radius,
float scale,
float hradius,
float vradius,
float start,
float end,
const GskColorStop *stops,
@ -1995,8 +1995,8 @@ gtk_snapshot_append_radial_gradient (GtkSnapshot *snapshot,
node = gsk_radial_gradient_node_new (&real_bounds,
&real_center,
radius,
scale,
hradius * scale_x,
vradius * scale_y,
start,
end,
stops,
@ -2009,8 +2009,8 @@ void
gtk_snapshot_append_repeating_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
float radius,
float scale,
float hradius,
float vradius,
float start,
float end,
const GskColorStop *stops,
@ -2033,8 +2033,8 @@ gtk_snapshot_append_repeating_radial_gradient (GtkSnapshot *snapshot,
node = gsk_repeating_radial_gradient_node_new (&real_bounds,
&real_center,
radius,
scale,
hradius * scale_x,
vradius * scale_y,
start,
end,
stops,

View File

@ -168,8 +168,8 @@ GDK_AVAILABLE_IN_ALL
void gtk_snapshot_append_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
float radius,
float scale,
float hradius,
float vradius,
float start,
float end,
const GskColorStop *stops,
@ -178,8 +178,8 @@ GDK_AVAILABLE_IN_ALL
void gtk_snapshot_append_repeating_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
float radius,
float scale,
float hradius,
float vradius,
float start,
float end,
const GskColorStop *stops,