summaryrefslogtreecommitdiff
path: root/graphics/epix/doc/hello.xp
blob: c8bd3739b9bb0e9db4c7d2dce22a38709e9dd215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* -*-ePiX-*- */
#include "epix.h"
using namespace ePiX;

int main()
{
  picture(P(-1,-1),P(1,1), "2x1in");

  begin();

  // uncomment and permute these lines
  // crop_ellipse();
  // backing(Yellow());
  border(Black(), "1pt");

  font_size("Huge");
  label(P(0,0), "Hello, world!");

  end();
}