forked from AuroraMiddleware/gtk
snapshot: switch to h/vradius
This commit is contained in:
parent
ebfb3e771d
commit
c08df82d54
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user