59extern GtkWidget *
majt;
60extern GtkWidget *
nmi[2];
61extern GtkWidget *
xyp[2];
89extern PangoLayout *
layout;
111extern double scale (
double axe);
120extern gboolean
show_curve (GtkWidget * grwdget, cairo_t * cr, gpointer curve);
122extern void show_curve (GtkDrawingArea * area, cairo_t * cr,
int width,
int height, gpointer curve);
126extern G_MODULE_EXPORT gboolean
to_hide_curve (GtkWidget * thecurve, GdkEvent * event, gpointer data);
128extern G_MODULE_EXPORT gboolean
to_hide_curve (GtkWindow * thecurve, gpointer data);
140 int tf,
int da,
int res[2],
141 double ti,
double x[2],
double y[2],
144extern void draw_frame (cairo_t * cr,
Curve * this_curve,
int rid,
int cid);
146extern void draw_glyph (cairo_t * in,
int theglyph,
double x,
double y,
ColRGBA gcolor,
double size);
153extern void setup_xaxis_log (cairo_t * cr,
Curve * this_curve,
int rid,
int cid, gboolean draw_it);
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_linear(cairo_t *cr, Curve *this_curve)
setup y axis using a linear scale
void add_curve_widgets(project *this_proj, int rid)
add curve widgets to the project
GtkWidget * curve_popup_menu(gpointer data)
create curve popup menu
void setup_xaxis_linear(cairo_t *cr, Curve *this_curve)
setup x axis using a linear scale
G_MODULE_EXPORT gboolean to_hide_curve(GtkWindow *thecurve, gpointer data)
void show_curve_popup_menu(GdkEvent *event, gpointer data)
void hide_curve(gpointer data)
hide curve
void show_title(cairo_t *cr, Curve *this_curve)
draw title
void initcurve(project *pid, int rid, int cid)
initialize curve widget
void label_curve(cairo_t *cr, double val, int axe, int p, Curve *this_curve)
draw axis label
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
void erase_curves(project *this_proj, int c)
free all curve(s) data
int get_curve_shift(Curve *this_curve)
get cruve window size shift
double scale(double axe)
find appropriate major tick spacing based on axis length
void setup_yaxis_log(cairo_t *cr, Curve *this_curve, gboolean draw_it)
setup y axis using a log scale
void show_legend(cairo_t *cr, project *this_proj, int rid, int cid)
draw legend
void prep_plot(Curve *this_curve)
prepare curve plot (setting up variables for the plot)
void hide_curves(project *this_proj, int c)
for project hide all curves for a calculation
void save_image(gpointer cdata)
export curve window plot to image - creating the dialog
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 * get_curve_from_pointer(gpointer data)
get Curve pointer from pointer
curve_dash * selectdash(int iddash)
setup dash pointer
void draw_frame(cairo_t *cr, Curve *this_curve, int rid, int cid)
draw frame and axis data
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 init_curve_title(project *this_proj, int rid, int cid)
init curve title and axis titles
const gchar * default_title(int ax, gpointer data)
default title string
void show_curve(GtkDrawingArea *area, cairo_t *cr, int width, int height, gpointer curve)
show curve callback GTK3
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 setup_xaxis_log(cairo_t *cr, Curve *this_curve, int rid, int cid, gboolean draw_it)
setup x axis using a log scale
void update_curves()
update all curve(s) rendering for all project(s) in the workspace
void autoscale_axis(project *this_proj, Curve *this_curve, int rid, int cid, int aid)
autoscale axis
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...