atomes 1.3.1
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
legend.c File Reference

Function to draw the legend. More...

#include <stdlib.h>
#include <cairo.h>
#include <pango/pangocairo.h>
#include "global.h"
#include "curve.h"
Include dependency graph for legend.c:

Go to the source code of this file.

Functions

DataLayoutget_extra_layout (int i)
void show_legend (cairo_t *cr, project *this_proj, int rid, int cid)
 draw legend

Detailed Description

Function to draw the legend.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file legend.c.

Function Documentation

◆ get_extra_layout()

DataLayout * get_extra_layout ( int i)
extern

◆ show_legend()

void show_legend ( cairo_t * cr,
project * this_proj,
int rid,
int cid )

draw legend

Parameters
crthe cairo drawing context to use for the draw
this_projthe target project
ridthe calculation id
cidthe curve id

Definition at line 56 of file legend.c.