Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KPLOT_GET_DATACFG(3)	    Library Functions Manual	  KPLOT_GET_DATACFG(3)

NAME
       kplot_get_datacfg -- get	data configurations for	a plot

LIBRARY
       library "libkplot"

SYNOPSIS
       #include	<cairo.h>
       #include	<kplot.h>

       int
       kplot_get_datacfg(struct	kplot *p,  size_t pos, struct kdatacfg **cfgs,
	   size_t *cfgsz);

DESCRIPTION
       The kplot_get_datacfg function returns the struct kdatacfg assigned  to
       data  attached  with  kdata_attach_data(3),  kdata_attach_datas(3), and
       kdata_attach_smooth(3).	Since there may	be more	than one configuration
       per attachment, kplot_get_datacfg will assign the array to cfgs and the
       number of sources to cfgsz.  The	pos value refers to the	order  of  at-
       tachment.

RETURN VALUES
       kplot_get_datacfg  returns  0 if	there is no data source	at that	index,
       otherwise it returns non-zero and the cfgs and cfgsz are	filled in.

SEE ALSO
       kplot(3),	 kplot_attach_data(3),		kplot_attach_datas(3),
       kplot_attach_smooth(3)

FreeBSD	ports 15.quarterly     February	11, 2015	  KPLOT_GET_DATACFG(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kplot_get_datacfg&sektion=3&manpath=FreeBSD+Ports+15.0.quarterly>

home | help