Constructor
Gsk.LinearGradientNode.new
Declaration [src]
GskRenderNode*
gsk_linear_gradient_node_new (
  const graphene_rect_t* bounds,
  const graphene_point_t* start,
  const graphene_point_t* end,
  const GskColorStop* color_stops,
  gsize n_color_stops
)
Description [src]
Creates a GskRenderNode that will create a linear gradient from the given
points and color stops, and render that into the area given by bounds.
Parameters
| bounds | const graphene_rect_t* | 
| the rectangle to render the linear gradient into | |
| Ownership is not transferred to the callee | |
| start | const graphene_point_t* | 
| the point at which the linear gradient will begin | |
| Ownership is not transferred to the callee | |
| end | const graphene_point_t* | 
| the point at which the linear gradient will finish | |
| Ownership is not transferred to the callee | |
| color_stops | An array of GskColorStop | 
| a pointer to an array of
   | |
| The length of the array is in the n_color_stopsargument | |
| Ownership is not transferred to the callee | |
| n_color_stops | gsize | 
| the number of elements in  | 
Return value
| Returns: GskLinearGradientNode | |
| A new  | |
| Ownership of the data is transferred to the caller | |