pike.git / lib / modules / Graphics.pmod / Graph.pmod / create_pie.pike

version» Context lines:

pike.git/lib/modules/Graphics.pmod/Graph.pmod/create_pie.pike:1:   //! Graph sub-module for drawing pie-charts. - // $Id: create_pie.pike,v 1.10 2005/11/14 22:11:02 nilsson Exp $ + // $Id: create_pie.pike,v 1.11 2005/11/15 00:43:17 nilsson Exp $   //   // These functions were written by Henrik "Hedda" Wallin (hedda@roxen.com)   // Create_pie can draw pie charts in different forms.      #pike __REAL_VERSION__      #include "graph.h"    - inherit "polyline.pike"; - inherit "create_graph.pike"; - inherit "create_bars.pike"; + inherit .create_bars;      mapping(string:mixed) create_pie(mapping(string:mixed) diagram_data)   {    //Only tested with xsize>=100    int si=diagram_data["fontsize"];       string where_is_ax;       Image.Image piediagram;