sevreporter/src/chartImage.cxx
//
// Public interface to create the image
//
Public interface to create the image
Public interface to create the image
int chartImage::plot_data(qualityItem *qi, queryFolder *qf, char const *filename, imagetype type)
{
  int retval = -1;
  if ( qi && qf && filename )
    {
      switch ( type )
	{
	case gif:
	  retval = generateGIF(qi, qf, filename);
	  break;
	case png:
	  retval = generatePNG(qi, qf, filename);
	  break;
	default:
	  break;
	}
    }
  return retval;
}
int chartImage :: plot_data ( qualityItem * qi , queryFolder * qf , char const * filename , imagetype type ) { int retval = -1 ; if ( qi && qf && filename ) { switch ( type ) { case gif : retval = generateGIF ( qi , qf , filename ) ; break ; case png : retval = generatePNG ( qi , qf , filename ) ; break ; default : break ; } } return retval ; }
Public interface to create the image
Public interface to create the image