gtk / cairo-chart

SSH Git

To clone this repository:

git clone git@git.backbone.ws:gtk/cairo-chart.git

To push to this repository:

# Add a new remote
git remote add origin git@git.backbone.ws:gtk/cairo-chart.git

# Push the master branch to the newly added origin, and configure
# this remote and branch as the default:
git push -u origin master

# From now on you can push master to the "origin" remote with:
git push

Commit: #4b17336

Parent: #678c60d

In progress...

avatar Kolan Sh 12 days ago

Summary

1007 1007 break;
1008 1008 }
1009 1009 set_line_style(s.line_style);
1010 // move to s.points[0]
1011 context.move_to (get_scr_x(s, points[0].x), get_scr_y(s, points[0].y));
1012 1010 // draw series line
1013 for (int i = 1; i < points.length; ++i)
1014 context.line_to (get_scr_x(s, points[i].x), get_scr_y(s, points[i].y));
1011 for (int i = 1; i < points.length; ++i) {
1012 Point c, d;
1013 cut_line (Point(get_scr_x(s, points[i - 1].x), get_scr_y(s, points[i - 1].y)),
1014 Point(get_scr_x(s, points[i].x), get_scr_y(s, points[i].y)),
1015 out c, out d);
1016 context.move_to (c.x, c.y);
1017 context.line_to (d.x, d.y);
1018 }
1015 1019 context.stroke();
1016 1020 for (int i = 0; i < points.length; ++i) {
1017 1021 var x = get_scr_x(s, points[i].x);

Comments