| 1 |
% This is turnboard.mf |
| 2 |
% |
| 3 |
% This file contains only the definition of one charachter |
| 4 |
% which can be used to show, that you want to turn the board |
| 5 |
% |
| 6 |
mode_setup; |
| 7 |
% |
| 8 |
% Define the size of the character |
| 9 |
% |
| 10 |
qs#:=12pt#; |
| 11 |
% |
| 12 |
% |
| 13 |
define_pixels(qs); |
| 14 |
beginchar(0,1qs#,1qs#,0); |
| 15 |
pickup pencircle scaled 1/32qs; |
| 16 |
% |
| 17 |
% Define some points of the character |
| 18 |
% |
| 19 |
% This are the points for the 3/4 circle |
| 20 |
% |
| 21 |
z1=(1/8qs,1/8qs); |
| 22 |
z2=(1/8qs,7/8qs); |
| 23 |
z3=(7/8qs,7/8qs); |
| 24 |
z4=(7/8qs,1/8qs); |
| 25 |
% |
| 26 |
% Tip of the circled arrow |
| 27 |
% |
| 28 |
z5=(13/16qs,1/16qs); |
| 29 |
z6=(7/8qs,2/8qs); |
| 30 |
z7=(1qs,1/8qs); |
| 31 |
% |
| 32 |
% A small chessboard inside the arrow |
| 33 |
% |
| 34 |
z8=(1/4qs,1/4qs); |
| 35 |
z9=(1/4qs,1/2qs); |
| 36 |
z10=(1/4qs,3/4qs); |
| 37 |
z11=(1/2qs,1/4qs); |
| 38 |
z12=(1/2qs,1/2qs); |
| 39 |
z13=(1/2qs,3/4qs); |
| 40 |
z14=(3/4qs,1/4qs); |
| 41 |
z15=(3/4qs,1/2qs); |
| 42 |
z16=(3/4qs,3/4qs); |
| 43 |
% |
| 44 |
% Show the 3/4 circled arrow around the board |
| 45 |
% |
| 46 |
draw z1{-1,1}..{1,1}z2{1,1}..{1,-1}z3{1,-1}..{-1,-1}z4; |
| 47 |
fill z5--z6--z7--cycle; |
| 48 |
draw z8--z10--z16--z14--cycle; |
| 49 |
fill z8--z9--z12--z11--cycle; |
| 50 |
fill z12--z13--z16--z15--cycle; |
| 51 |
endchar; |
| 52 |
% |
| 53 |
% Thats all |
| 54 |
% |
| 55 |
end; |