home *** CD-ROM | disk | FTP | other *** search
- The following GRAD commands
-
- HorzLine([C9],[L13],300,1);
- SetStyle(0x3333);
- HorzLine([C9],[L13,10],300,1);
- SetStyle(0);
- HorzLine([C9],[L13,20],300,1);
- SetStyle(0x11ff);
- HorzLine([C9],[L13,30],300,1);
-
- produce the following results:
-
-
-
-
-
-
- To create a pie chart is very simple too.
- SetStyle(0xffff);
- Earc2(170,50,83,50,100,270);
- ArcPoint(&x1,&y1,&x2,&y2);
- Line(x1,y1,170,50);
- Line(170,50,x2,y2);
- Earc2(178,45,83,50,10,90);
- ArcPoint(&x1,&y1,&x2,&y2);
- Line(x1,y1,178,45);
- Line(178,45,x2,y2);
- PatternFill(160,50,pattern1,0);
- PatternFill(190,30,pattern2,0);
-