atomes 1.1.15
atomes: an atomic scale modeling tool box
|
Function to draw a curve. More...
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <stdlib.h>
#include <math.h>
#include <cairo.h>
#include "global.h"
#include "curve.h"
Go to the source code of this file.
Functions | |
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 | |
Function to draw a curve.
Definition in file draw.c.
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
cr | the cairo drawing context to use for the draw |
cid | the target curve id |
rid | the target calculation id |
this_proj | the target project |
points | the number of data point(s) |
withcolor | the data color |
xscale | x axis scale type (0 = linear, 1 = log) |
yscale | y axis scale type (0 = linear, 1 = log) |
asp | data aspect (0 = x/y normal, 1 = historgram) |
vdash | dash type |
thick | line tthickness |
glyp | glyph type |
gize | glyph size |
freq | glyph frequency |
hwidth | histogram bar width |
hopac | histogram bar opacity value |
hpos | histogram opacity treatment (0 = no opacity, 1 = use opacity) |
extra | the number of extra data sets |
pid | 0 (x/y plot) or plot id number (historgram) |