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

Functions to draw the title. More...

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

Go to the source code of this file.

Functions

const gchar * default_title (int ax, gpointer data)
 default title string
void show_title (cairo_t *cr, Curve *this_curve)
 draw title

Detailed Description

Functions to draw the title.

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 title.c.

Function Documentation

◆ default_title()

const gchar * default_title ( int ax,
gpointer data )

default title string

Parameters
axaxis
datathe associated data pointer

Definition at line 54 of file title.c.

◆ show_title()

void show_title ( cairo_t * cr,
Curve * this_curve )

draw title

Parameters
crthe cairo drawing context to use for the draw
this_curvethe target curve

Definition at line 104 of file title.c.