Method
GtkSnapshotappend_linear_gradient
Declaration [src]
void
gtk_snapshot_append_linear_gradient (
  GtkSnapshot* snapshot,
  const graphene_rect_t* bounds,
  const graphene_point_t* start_point,
  const graphene_point_t* end_point,
  const GskColorStop* stops,
  gsize n_stops
)
Parameters
| bounds | graphene_rect_t | 
| The rectangle to render the linear gradient into. | |
| The data is owned by the caller of the function. | |
| start_point | graphene_point_t | 
| The point at which the linear gradient will begin. | |
| The data is owned by the caller of the function. | |
| end_point | graphene_point_t | 
| The point at which the linear gradient will finish. | |
| The data is owned by the caller of the function. | |
| stops | An array of GskColorStop | 
| A pointer to an array of  | |
| The length of the array is specified in the n_stopsargument. | |
| The data is owned by the caller of the function. | |
| n_stops | gsize | 
| The number of elements in  |