summaryrefslogtreecommitdiff
path: root/graphics/epix/samples/hello.xp
blob: 812529f654af959a38c58eb156dd12c455d6536f (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(Cyan());
  border(Black(), "1pt");

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

  end();
}