summaryrefslogtreecommitdiff
path: root/graphics/epix/doc/dots.xp
blob: 1f13fb6099e81f738537b47fd8938b7011c34344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* -*-ePiX-*- */
/* dots.c -- Dot primitives */
#include "epix.h"
using namespace ePiX;

int main()
{
  unitlength("1pt");
  bounding_box(P(0,0), P(8,1));
  picture(P(72,12));
  offset(P(10,2));

  begin();

  spot(P(0,0));
  dot(P(1,0));
  ddot(P(2,0));

  box(P(4,0));
  bbox(P(5,0));

  line(P(6.5,0), P(8.75,0));

  ring(P(7,0));
  circ(P(8,0));

  end();
}