Function

AgsGuiPlotalloc

since: 3.0.0

Declaration [src]

AgsPlot*
ags_plot_alloc (
  guint n_points,
  guint n_bitmaps,
  guint n_pixmaps
)

Description [src]

Allocate AgsPlot-struct.

Available since: 3.0.0

Parameters

n_points

Type: guint

Number of points.

n_bitmaps

Type: guint

Number of bitmaps.

n_pixmaps

Type: guint

Number of pixmaps.

Return value

Type: AgsPlot*

The newly allocated AgsPlot-struct.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.