summaryrefslogtreecommitdiff
path: root/mf
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2007-05-09 14:46:53 +0200
committerWerner Lemberg <wl@gnu.org>2007-05-09 14:46:53 +0200
commitca8a53cea5968032569fef33dfd9bd3ab4a8224d (patch)
tree274cb6f572fa9fe33b02fa3a4a6f1f2fee321e77 /mf
parentc855966cc2dcc458c5aba0873072db552eeaf02a (diff)
Use `transform'.
Diffstat (limited to 'mf')
-rw-r--r--mf/parmesan-custodes.mf42
-rw-r--r--mf/parmesan-flags.mf30
-rw-r--r--mf/parmesan-heads.mf27
-rw-r--r--mf/parmesan-scripts.mf12
-rw-r--r--mf/parmesan-timesig.mf2
5 files changed, 55 insertions, 58 deletions
diff --git a/mf/parmesan-custodes.mf b/mf/parmesan-custodes.mf
index f6734c53d9..fca50e37f2 100644
--- a/mf/parmesan-custodes.mf
+++ b/mf/parmesan-custodes.mf
@@ -77,16 +77,15 @@ def custos_hufnagel (expr verbose_name, internal_name,
define_pixels (ht, wd, pen_size, stem_ht);
- save ellipse, pat;
+ save ellipse, pat, T;
path ellipse, pat;
+ transform T;
- pickup pencircle xscaled linethickness
- yscaled pen_size
- rotated -dalpha;
-
- ellipse := fullcircle xscaled linethickness
- yscaled pen_size
- rotated -dalpha;
+ T := identity xscaled linethickness
+ yscaled pen_size
+ rotated -dalpha;
+ pickup pencircle transformed T;
+ ellipse := fullcircle transformed T;
if direction = dir_up:
top y1 = ht / 2;
@@ -184,14 +183,14 @@ def custos_medicaea (expr verbose_name, internal_name,
define_pixels (ht, wd, stem_ht);
- save ellipse;
+ save ellipse, T;
path ellipse;
+ transform T;
- pickup pencircle xscaled 0.6 linethickness
- yscaled ht;
-
- ellipse := fullcircle xscaled 0.6 linethickness
- yscaled ht;
+ T := identity xscaled 0.6 linethickness
+ yscaled ht;
+ pickup pencircle transformed T;
+ ellipse := fullcircle transformed T;
lft x1 = 0;
y1 = 0;
@@ -393,16 +392,15 @@ def custos_mensural (expr verbose_name, internal_name,
define_pixels (ht, wd, stem_ht);
- save ellipse;
+ save ellipse, T;
path ellipse;
+ transform T;
- pickup pencircle xscaled linethickness
- yscaled 0.4ht
- rotated -dalpha;
-
- ellipse := fullcircle xscaled linethickness
- yscaled 0.4ht
- rotated -dalpha;
+ T := identity xscaled linethickness
+ yscaled 0.4 ht
+ rotated -dalpha;
+ pickup pencircle transformed T;
+ ellipse := fullcircle transformed T;
if direction > 0:
bot y1 = bot y3 = bot y5 = -direction * 0.33 ht;
diff --git a/mf/parmesan-flags.mf b/mf/parmesan-flags.mf
index ba5a800005..26f6a74ac1 100644
--- a/mf/parmesan-flags.mf
+++ b/mf/parmesan-flags.mf
@@ -32,17 +32,16 @@ dir_down := -1;
def draw_mensural_outermost_flare (expr staffline_adjustment, d_) =
define_pixels (linethickness, staff_space);
- save ellipse, pat;
+ save ellipse, pat, T;
path ellipse, pat;
+ transform T;
- pickup pencircle xscaled 1.00 linethickness
- yscaled 0.22 staff_space
- rotated -35;
+ T := identity xscaled 1.00 linethickness
+ yscaled 0.22 staff_space
+ rotated -35;
+ pickup pencircle transformed T;
+ ellipse := fullcircle transformed T;
- ellipse := fullcircle xscaled 1.00 linethickness
- yscaled 0.22 staff_space
- rotated -35;
-
z11 = (+0.00 staff_space, -0.00 staff_space);
z12 = (+0.15 staff_space, -0.00 staff_space);
@@ -87,16 +86,15 @@ enddef;
def draw_mensural_inner_flare (expr il_shift, idx, d_) =
define_pixels (linethickness, staff_space);
- save ellipse, pat;
+ save ellipse, pat, T;
path ellipse, pat;
+ transform T;
- pickup pencircle xscaled 1.00 linethickness
- yscaled 0.22 staff_space
- rotated -35;
-
- ellipse := fullcircle xscaled 1.00 linethickness
- yscaled 0.22 staff_space
- rotated -35;
+ T := identity xscaled 1.00 linethickness
+ yscaled 0.22 staff_space
+ rotated -35;
+ pickup pencircle transformed T;
+ ellipse := fullcircle transformed T;
save i;
numeric i[];
diff --git a/mf/parmesan-heads.mf b/mf/parmesan-heads.mf
index b1ccf6455d..db54fd54f2 100644
--- a/mf/parmesan-heads.mf
+++ b/mf/parmesan-heads.mf
@@ -1166,14 +1166,14 @@ fet_beginchar ("Ed. Vat. quilisma", "svaticana.quilisma");
define_pixels (ht, wd);
- pickup pencircle xscaled linethickness
- yscaled 0.44 ht;
-
- save ellipse;
+ save ellipse, T;
path ellipse;
+ transform T;
- ellipse := reverse fullcircle xscaled linethickness
- yscaled 0.44 ht;
+ T := identity xscaled linethickness
+ yscaled 0.44 ht;
+ pickup pencircle transformed T;
+ ellipse := reverse fullcircle transformed T;
z1 = (rt 0.00 wd, top -0.28 ht);
z2 = (0.11 wd, -0.14 ht);
@@ -1261,19 +1261,22 @@ fet_beginchar ("Solesmes oriscus", "ssolesmes.oriscus");
z3 = (2/6 wd, -convexity);
z4 = (0.50 wd - blot_diameter / 2, +convexity);
- save height, ellipse;
- path ellipse;
+
+ save height;
height = 2 ypart (directionpoint right of (z1
.. z2
.. z3
.. z4));
- pickup pencircle xscaled blot_diameter
- yscaled (h + d - height);
+ save ellipse, T;
+ path ellipse;
+ transform T;
- ellipse := fullcircle xscaled blot_diameter
- yscaled (h + d - height);
+ T := identity xscaled blot_diameter
+ yscaled (h + d - height);
+ pickup pencircle transformed T;
+ ellipse := fullcircle transformed T;
% Adjust vertical coordinates to touch bounding box.
y1 := top -d;
diff --git a/mf/parmesan-scripts.mf b/mf/parmesan-scripts.mf
index 435cc86a13..59c6993ee5 100644
--- a/mf/parmesan-scripts.mf
+++ b/mf/parmesan-scripts.mf
@@ -15,14 +15,14 @@ fet_beginchar ("ictus", "ictus");
define_pixels (wd, ht);
- save ellipse;
+ save ellipse, T;
path ellipse;
+ transform T;
- pickup pencircle xscaled wd
- yscaled blot_diameter;
-
- ellipse := fullcircle xscaled wd
- yscaled blot_diameter;
+ T := identity xscaled wd
+ yscaled blot_diameter;
+ pickup pencircle transformed T;
+ ellipse := fullcircle transformed T;
set_char_box (wd# / 2, wd# / 2, ht# / 2, ht# / 2);
diff --git a/mf/parmesan-timesig.mf b/mf/parmesan-timesig.mf
index 264a487a10..0b6098a793 100644
--- a/mf/parmesan-timesig.mf
+++ b/mf/parmesan-timesig.mf
@@ -53,8 +53,6 @@ def draw_nail (expr bottom_left, top_right) =
x6 = x4;
y5 = y6 = y2 - 2 mensural_Cthickness;
- pickup pencircle scaled round;
-
fill bot z1{right}
.. rt z1{up}
-- rt z5{up}