author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 3 Apr 2002 14:52:15 +0000 (14:52 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 3 Apr 2002 14:52:15 +0000 (14:52 +0000) | ||
commit | badb4b5a280242c6991970d25c4069bc12e77f10 | |
tree | d23b5c4394fb7c55887153299ca91d933f99bcfc | tree | snapshot |
parent | 37b2687fdcdd310be0aa5d622426e04820f92d3c | commit | diff |
As gfx_canvas_t now has excatly the same lifespan as image_desc_t, I've
made 'gfx_canvas_t canvas' a member of image_desc_t and dropped it as a
separate parameter in all function calls.
imgformat, interlaced and zoom are moved to gfx_canvas_t. I have dropped
my old fontlib-enum as imgformat contains that information. The
gfx_render_xxx switch is moved to rrd_gfx so rrd_graph is (almost) only
bothered with image formats in cmd line parsing.
gfx_close_path is added.
gfx_new_dashed_line is added with 2 new arguments: length of a dash and
length between dashes. gfx_new_line is still there for plain lines.
Having dash-length == 0 creates normal line.
rrd_graph.c is not updated for dashed lines. It's not decided how one
should specify which and how lines are dashed. An extension of the color
specification?
svg is updated for dashes and opacity, but libart code is not. I've
fixed indent in SVG, all lines had a space before func decl. etc.
Misc small fixes, e.g. sscanf of gfx_color_t, position of x-axis arrow.
--- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@114 a5681a0c-68f1-0310-ab6d-d61299d08faa
made 'gfx_canvas_t canvas' a member of image_desc_t and dropped it as a
separate parameter in all function calls.
imgformat, interlaced and zoom are moved to gfx_canvas_t. I have dropped
my old fontlib-enum as imgformat contains that information. The
gfx_render_xxx switch is moved to rrd_gfx so rrd_graph is (almost) only
bothered with image formats in cmd line parsing.
gfx_close_path is added.
gfx_new_dashed_line is added with 2 new arguments: length of a dash and
length between dashes. gfx_new_line is still there for plain lines.
Having dash-length == 0 creates normal line.
rrd_graph.c is not updated for dashed lines. It's not decided how one
should specify which and how lines are dashed. An extension of the color
specification?
svg is updated for dashes and opacity, but libart code is not. I've
fixed indent in SVG, all lines had a space before func decl. etc.
Misc small fixes, e.g. sscanf of gfx_color_t, position of x-axis arrow.
--- Peter Speck <speck@ruc.dk>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@114 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_gfx.c | diff | blob | history | |
src/rrd_gfx.h | diff | blob | history | |
src/rrd_graph.c | diff | blob | history | |
src/rrd_graph.h | diff | blob | history |