/*
TODO: set line style.
*/
- Molecule mol = Lookup::dashed_line (thick,
- Offset (0, starth),
- Offset (width, endh),
- period, fraction);
- mol.add_molecule (Lookup::dashed_line (thick,
- Offset (0, -starth),
- Offset (width, -endh),
- period, fraction));
-
+ Molecule mol;
+ if (fraction < 1.0)
+ {
+ mol = Lookup::dashed_line (thick,
+ Offset (0, starth),
+ Offset (width, endh),
+ period, fraction);
+ mol.add_molecule (Lookup::dashed_line (thick,
+ Offset (0, -starth),
+ Offset (width, -endh),
+ period, fraction));
+ }
+ else
+ {
+ mol = Lookup::line (thick,
+ Offset (0, starth),
+ Offset (width, endh));
+ mol.add_molecule (Lookup::line (thick,
+ Offset (0, -starth),
+ Offset (width, -endh)
+ ));
+ }
mol.translate_axis (x_points[LEFT]
- bounds[LEFT]->relative_coordinate (common, X_AXIS),
X_AXIS);
-
return mol.smobbed_copy ();
}
-$(outdir)/%: %.pl $(config_make)
+$(outdir)/%: %.pl $(config_make) $(depth)/VERSION
cat $< | sed $(sed-atvariables) > $@
chmod 755 $@
-$(outdir)/%: %.bash $(config_make)
+$(outdir)/%: %.bash $(config_make) $(depth)/VERSION
cat $< | sed $(sed-atvariables) > $@
chmod 755 $@
-$(outdir)/%: %.scm $(config_make)
+$(outdir)/%: %.scm $(config_make) $(depth)/VERSION
cat $< | sed $(sed-atvariables) > $@
chmod 755 $@
-$(outdir)/%: %.expect $(config_make)
+$(outdir)/%: %.expect $(config_make) $(depth)/VERSION
cat $< | sed $(sed-atvariables) > $@
chmod 755 $@
-$(outdir)/%: %.sh $(config_make)
+$(outdir)/%: %.sh $(config_make) $(depth)/VERSION
cat $< | sed $(sed-atvariables) > $@
chmod 755 $@
-$(outdir)/%: %.py $(config_make)
+$(outdir)/%: %.py $(config_make) $(depth)/VERSION
cat $< | sed $(sed-atvariables) > $@
chmod 755 $@
# config_make dep isn't working. Why?
-$(outdir)/%: %.in $(config_make)
+$(outdir)/%: %.in $(config_make) $(depth)/VERSION
rm -f $@
cat $< | sed $(sed-atfiles) $(sed-atvariables) > $@