59extern GtkWidget *
majt;
60extern GtkWidget *
nmi[2];
61extern GtkWidget *
xyp[2];
92extern PangoLayout *
layout;
114extern double scale (
double axe);
123extern gboolean
show_curve (GtkWidget * grwdget, cairo_t * cr, gpointer curve);
125extern void show_curve (GtkDrawingArea * area, cairo_t * cr,
int width,
int height, gpointer curve);
129extern G_MODULE_EXPORT gboolean
to_hide_curve (GtkWidget * thecurve, GdkEvent * event, gpointer data);
131extern G_MODULE_EXPORT gboolean
to_hide_curve (GtkWindow * thecurve, gpointer data);
139extern void label (cairo_t * cr,
double val,
int axe,
int p,
project * this_proj);
142 int tf,
int da,
int res[2],
143 double ti,
double x[2],
double y[2],
148extern void draw_glyph (cairo_t * in,
int theglyph,
149 double x,
double y,
ColRGBA gcolor,
double size);
void show_frame(cairo_t *cd, int tf, int da, int res[2], double ti, double x[2], double y[2], ColRGBA dcol)
draw frame
void setup_yaxis_log(cairo_t *cr, project *this_proj, int rid, int cid, gboolean draw_it)
setup y axis using a log scale
void label(cairo_t *cr, double val, int axe, int p, project *this_proj)
draw axis label
GtkWidget * curve_popup_menu(gpointer data)
create curve popup menu
G_MODULE_EXPORT gboolean to_hide_curve(GtkWindow *thecurve, gpointer data)
void draw_frame(cairo_t *cr, project *this_proj, int rid, int cid)
draw frame and axis data
void show_curve_popup_menu(GdkEvent *event, gpointer data)
void hide_curve(gpointer data)
hide curve
void initcurve(project *pid, int rid, int cid)
initialize curve widget
void draw_curve(cairo_t *cr, int cid, int rid, project *this_proj, int points, ColRGBA withcolor, int xscale, int yscale, int asp, int vdash, double thick, int glyp, double gize, int freq, double hwidth, double hopac, int hpos, int extra, int pid)
draw target curve to the cairo drawing context
const gchar * default_title(int ax, int c)
default title string
void erase_curves(project *this_proj, int c)
free all curve(s) data
int get_curve_shift(project *this_proj, int b, int c)
get cruve window size shift
double scale(double axe)
find appropriate major tick spacing based on axis length
void setup_yaxis_linear(cairo_t *cr, project *this_proj, int rid, int cid)
setup y axis using a linear scale
void setup_xaxis_log(cairo_t *cr, project *this_proj, int rid, int cid, gboolean draw_it)
setup x axis using a log scale
void show_legend(cairo_t *cr, project *this_proj, int rid, int cid)
draw legend
void hide_curves(project *this_proj, int c)
for project hide all curves for a calculation
void show_title(cairo_t *cr, project *this_proj, int rid, int cid)
draw title
void prep_plot(project *this_proj, int rid, int cid)
prepare curve plot (setting up variables for the plot)
void save_image(gpointer cdata)
export curve window plot to image - creating the dialog
void autoscale_axis(project *this_proj, int rid, int cid, int aid)
autoscale axis
void allocextra(int a, int b, int c)
void prep_frame(cairo_t *fr, int da, double ti, ColRGBA dcol)
draw frame line
void update_curve(gpointer curve)
update curve rendering
curve_dash * selectdash(int iddash)
setup dash pointer
void addcurwidgets(int pid, int rid, int st)
add curve widgets to the project
void curve_window_add_menu_bar(tint *data)
add menu bar to the curve window
void clean_curves_data(int calc, int start, int end)
clean curve data on a range of curve id
void setup_xaxis_linear(cairo_t *cr, project *this_proj, int rid, int cid)
setup x axis using a linear scale
void show_curve(GtkDrawingArea *area, cairo_t *cr, int width, int height, gpointer curve)
show curve callback GTK3
void prep_axis_data(project *this_proj, int rid, int cid, int ax)
prepare axis data
void remove_extra(ExtraSets *sets, CurveExtra *ctmp)
remove data from extra set(s)
void write_curve(gpointer idata)
save curve data - creating the dialog
void update_curves()
update all curve(s) rendering for all project(s) in the workspace
void draw_glyph(cairo_t *in, int theglyph, double x, double y, ColRGBA gcolor, double size)
draw glyph at (x,y)
Global variable declarations Global convenience function declarations Global data structure defin...