home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
lout2.lzh
/
LOUT2
/
DOC
/
TR.LOUT
/
ch3.24
< prev
next >
Wrap
Text File
|
1994-01-25
|
1KB
|
31 lines
@Section
@Title { "@IncludeGraphic" and "@SysIncludeGraphic" }
@Tag { includegraphic }
@Begin
@PP
includegraphic.sym @Index { @@IncludeGraphic symbol }
sysincludegraphic.sym @Index { @@SysIncludeGraphic symbol }
postscript.includegraphic @SubIndex { used by @@IncludeGraphic }
These symbols instruct Lout to incorporate a separately created
illustration:
@ID @Code "@IncludeGraphic \"myportrait.eps\""
The parameter is implementation-dependent; in Basser Lout it is an
object whose value is a simple word denoting the name of a file. This
file should ideally be a PostScript EPS Version 3.0 file [{@Ref adobe90}],
since then Lout will keep careful track of what resources are required
for printing that file. However, any PostScript file containing the
@Code "%%BoundingBox:" comment and not requiring unusual resources is
likely to work.
@PP
The result of @@IncludeGraphic is an ordinary Lout object with marks
through its centre. It may be rotated, scaled, and generally
treated like any other object. Basser Lout determines its size by
consulting the bounding box information in the file. If this cannot be
found, a warning message is printed and the result object has zero size.
@PP
@@IncludeGraphic searches the same directories that @@Include does
(Section {@NumberOf include}). @@SysIncludeGraphic is the same as
@@IncludeGraphic, except that it searches only the directories searched
by @@SysInclude.
@End @Section