summaryrefslogtreecommitdiff
path: root/graphics/epix/samples/objects.xp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/epix/samples/objects.xp')
-rw-r--r--graphics/epix/samples/objects.xp32
1 files changed, 0 insertions, 32 deletions
diff --git a/graphics/epix/samples/objects.xp b/graphics/epix/samples/objects.xp
deleted file mode 100644
index ddf38cbee1..0000000000
--- a/graphics/epix/samples/objects.xp
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*-ePiX-*- */
-#include "epix.h"
-using namespace ePiX;
-
-int main()
-{
- picture(P(0,0), P(5,2), "3.75 x 1.5in");
-
- begin();
-
- // roof
- triangle(P(0.9, 1), P(3.1, 1), P(2, 1.5)); // vertices
-
- // sun
- circle(P(4,1.5), 0.25); // center and radius
-
- // house
- rect(P(1,0), P(3,1)); // opposite corners
- // grid(P(1,0), P(3,1), 1, 10); // corners, numbers of subdivisions
-
- // door
- fill(Black(0.1));
- rect(P(2.3,0), P(2.7,0.8)); // corners
-
- fill(White());
- // window
- bold();
- grid(P(1.4,0.2), P(2, 0.6), 2, 2);
-
- line(P(xmin(),0), P(xmax(),0));
- end();
-}