~ubuntu-branches/ubuntu/raring/genius/raring

« back to all changes in this revision

Viewing changes to gtkextra/gtkplot3d.c

  • Committer: Logan Rosen
  • Date: 2012-12-23 04:12:09 UTC
  • mfrom: (1.2.8)
  • Revision ID: logatronico@gmail.com-20121223041209-kduaktqblmrcakhk
New upstream release (LP: #1092569).

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#define DEFAULT_WIDTH 420
32
32
#define DEFAULT_HEIGHT 340
33
33
#define DEFAULT_FONT_HEIGHT 10 
 
34
/* This should be same as in gtkplot.c */
 
35
#define LABEL_MAX_LENGTH 100
34
36
 
35
37
#ifndef PI
36
38
#define PI 3.141592653589793238462643383279502884197
1720
1722
  GtkWidget *widget;
1721
1723
  GtkPlotPC *pc;
1722
1724
  GtkPlotText title, tick;
1723
 
  gchar label[100];
 
1725
  gchar label[LABEL_MAX_LENGTH];
1724
1726
  gdouble tick_value;
1725
1727
  gdouble xx;
1726
1728
  gint text_height, text_width, ascent, descent;