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_support.h
Go to the documentation of this file.
1#ifndef IMAGE_SUPPORT_H
2#define IMAGE_SUPPORT_H
3
4#include "image.h"
5
6void imageinit(IMAGECONTENT *ic, const int width, const int height);
7void colorinitcheck(const char *color, const int value, const char *cfgtext, const int *rgb);
8void layoutinit(IMAGECONTENT *ic, const char *title, const int width, const int height);
9void drawlegend(IMAGECONTENT *ic, const int x, const int y, const short israte);
10void drawbar(IMAGECONTENT *ic, const int x, const int y, const int len, const uint64_t rx, const uint64_t tx, const uint64_t max, const short isestimate);
11void drawpoles(IMAGECONTENT *ic, const int x, const int y, const int len, const uint64_t rx, const uint64_t tx, const uint64_t max);
12void drawdonut(IMAGECONTENT *ic, const int x, const int y, const float rxp, const float txp, const int size, const int holesize);
13void drawdonut_libgd_bug_workaround(IMAGECONTENT *ic, const int x, const int y, const float rxp, const float txp, const int size, const int holesize);
14void drawdonut_libgd_native(IMAGECONTENT *ic, const int x, const int y, const float rxp, const float txp, const int size, const int holesize);
15void drawpole(IMAGECONTENT *ic, const int x, const int y, const int length, const int direction, const int maincolor);
16void drawarrowup(IMAGECONTENT *ic, const int x, const int y);
17void drawarrowright(IMAGECONTENT *ic, const int x, const int y);
18void hextorgb(const char *input, int *rgb);
19void modcolor(int *rgb, const int offset, const int force);
20char *getimagevalue(const uint64_t b, const int len, const int rate);
21char *getimagescale(const uint64_t b, const int rate);
22uint64_t getscale(const uint64_t input, const int rate);
23
24#endif
char * getimagevalue(const uint64_t b, const int len, const int rate)
void drawdonut_libgd_native(IMAGECONTENT *ic, const int x, const int y, const float rxp, const float txp, const int size, const int holesize)
void layoutinit(IMAGECONTENT *ic, const char *title, const int width, const int height)
Definition: image_support.c:93
void drawdonut(IMAGECONTENT *ic, const int x, const int y, const float rxp, const float txp, const int size, const int holesize)
void imageinit(IMAGECONTENT *ic, const int width, const int height)
Definition: image_support.c:8
void drawpoles(IMAGECONTENT *ic, const int x, const int y, const int len, const uint64_t rx, const uint64_t tx, const uint64_t max)
void drawarrowup(IMAGECONTENT *ic, const int x, const int y)
void drawarrowright(IMAGECONTENT *ic, const int x, const int y)
void drawlegend(IMAGECONTENT *ic, const int x, const int y, const short israte)
void modcolor(int *rgb, const int offset, const int force)
uint64_t getscale(const uint64_t input, const int rate)
void drawdonut_libgd_bug_workaround(IMAGECONTENT *ic, const int x, const int y, const float rxp, const float txp, const int size, const int holesize)
void drawpole(IMAGECONTENT *ic, const int x, const int y, const int length, const int direction, const int maincolor)
void drawbar(IMAGECONTENT *ic, const int x, const int y, const int len, const uint64_t rx, const uint64_t tx, const uint64_t max, const short isestimate)
char * getimagescale(const uint64_t b, const int rate)
void hextorgb(const char *input, int *rgb)
void colorinitcheck(const char *color, const int value, const char *cfgtext, const int *rgb)
Definition: image_support.c:84