Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Side by Side Diff: plot.h

Issue 6893111: Enhancements to ktop (Closed) Base URL: ssh://gitrw.chromium.org:9222/ktop.git@master
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mylib.h ('k') | plot.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 * Distributed under the terms of the GNU General Public License v2 3 * Distributed under the terms of the GNU General Public License v2
4 */ 4 */
5 #ifndef _PLOT_H 5 #ifndef _PLOT_H_
6 #define _PLOT_H 1 6 #define _PLOT_H_ 1
7 7
8 typedef struct point_s { 8 typedef struct point_s {
9 double x; 9 double x;
10 double y; 10 double y;
11 } point_s; 11 } point_s;
12 12
13 typedef struct rect_s { 13 typedef struct rect_s {
14 point_s min; 14 point_s min;
15 point_s max; 15 point_s max;
16 } rect_s; 16 } rect_s;
(...skipping 15 matching lines...) Expand all
32 32
33 typedef struct vector_s { 33 typedef struct vector_s {
34 int n; 34 int n;
35 point_s *p; 35 point_s *p;
36 } vector_s; 36 } vector_s;
37 37
38 vector_s new_vector(int n); 38 vector_s new_vector(int n);
39 void vplot(graph_s *g, vector_s v, char c); 39 void vplot(graph_s *g, vector_s v, char c);
40 40
41 #endif 41 #endif
OLDNEW
« no previous file with comments | « mylib.h ('k') | plot.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698