SDtoSF.mesa
Michael Plass, January 12, 1984 10:44 am
DIRECTORY
IO, ImagerBasic, Rope;
SDtoSF:
CEDAR
DEFINITIONS ~
BEGIN
ROPE:
TYPE ~ Rope.
ROPE;
SDCharToRope:
PROC [sdName:
ROPE, charCode:
NAT, fiducial:
INT ← 15840]
RETURNS [
ROPE];
To do just one character. The default fiducial is 2*2*2*2*2*3*3*5*11, which has lots of small factors.
SDCharToStream:
PROC [dest:
IO.
STREAM, sdName:
ROPE, charCode:
NAT, fiducial:
INT ← 15840];
OutlineToRope:
PROC [outline:
REF, family:
ROPE, face:
ROPE, charCode:
NAT, widthx:
REAL, widthy:
REAL, fiducial:
INT ← 15840]
RETURNS [
ROPE];
The outline can be anything an Imager.MaskFill can take, but for compatibility it better work with parityfill. The face should include spaces, i. e., "M R R".
OutlineToStream:
PROC [dest:
IO.
STREAM, outline:
REF, family:
ROPE, face:
ROPE, charCode:
NAT, widthx:
REAL, widthy:
REAL, fiducial:
INT ← 15840];
PathToStream:
PROC [dest:
IO.
STREAM, pathMap: ImagerBasic.PathMapType, pathData:
REF, family:
ROPE, face:
ROPE, charCode:
NAT, widthx:
REAL, widthy:
REAL, fiducial:
INT ← 15840];
ConvertFile:
PROC [sdName:
ROPE, sfName:
ROPE];
Does a whole file. There is an executive comand to do this.
END.