vnstat  2.9
About: vnStat is a console-based network traffic monitor (using the /proc filesystem).
  Fossies Dox: vnstat-2.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

image.h File Reference
#include <gd.h>
#include <gdfontt.h>
#include <gdfonts.h>
#include <gdfontmb.h>
#include <gdfontl.h>
#include <gdfontg.h>
Include dependency graph for image.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HOURDATA


#define YBEGINOFFSET   (-1)


void initimagecontent (IMAGECONTENT *ic)
void drawimage (IMAGECONTENT *ic)
int drawhours (IMAGECONTENT *ic, const int xpos, const int ypos, const int rate)
void drawhourly (IMAGECONTENT *ic, const int rate)
void drawlist (IMAGECONTENT *ic, const char *listname)
void drawsummary (IMAGECONTENT *ic, const int layout, const int rate)
void drawsummary_alltime (IMAGECONTENT *ic, const int x, const int y)
void drawsummary_digest (IMAGECONTENT *ic, const int x, const int y, const char *mode)
void drawfivegraph (IMAGECONTENT *ic, const int rate, const int resultcount, const int height)
int drawfiveminutes (IMAGECONTENT *ic, const int xpos, const int ypos, const int rate, const int resultcount, const int height)

Macro Definition Documentation



Definition at line 17 of file image.h.



Definition at line 14 of file image.h.



Definition at line 15 of file image.h.



Definition at line 16 of file image.h.



Definition at line 19 of file image.h.


#define YBEGINOFFSET   (-1)

Definition at line 12 of file image.h.

Function Documentation

◆ drawfivegraph()

void drawfivegraph ( IMAGECONTENT ic,
const int  rate,
const int  resultcount,
const int  height 

◆ drawfiveminutes()

◆ drawhourly()

void drawhourly ( IMAGECONTENT ic,
const int  rate 

Definition at line 284 of file image.c.

References drawhours(), drawlegend(), imageinit(), IMAGECONTENT::large, layoutinit(), and IMAGECONTENT::showheader.

Referenced by drawimage().

◆ drawhours()

◆ drawimage()

◆ drawlist()

◆ drawsummary()

◆ drawsummary_alltime()

◆ drawsummary_digest()

◆ initimagecontent()