Download Segment - Technical Manual

Transcript
CHAPTER 15. UNIT IMPLEMENTATION
write(hg, str)
Writes a string of characters to file.
columns(fg, varargin)
COLUMNS Method for dividing input into columns.
call = conc(varargin)
Concatenate two or more function calls.
fg = figgenerator(title, pathname, filename, pagewidth, lineht)
Constructor.
gsstri = ftext(fg)
FTEXT Method to write a paragraph of text with formatted headlines.
call = headline(fg, headtext, lpos)
HEADLINE Method to write a headline in bold.
hline(fg)
HLINE Method to write a horizontal line.
call = image(fg, imgname, imgsource, lpos)
IMAGE Method to add an image. imgsource can be a
location or an image matrix.
call = newline(fg)
NEWLINE Method to insert a line break.
newpagepos = pagebreakchk(fg, pagepos, nextblock)
PAGEBREAKCHK Method to insert a page break
Checks if it is time to insert a page break using ’pagepos’ parameter.
start(fg, figtitle)
START Method to open a new figure.
stop(fg)
STOP Save all figures to image files, then close them.
call = table(fg, content, boldcells, width, lpos)
TABLE Method to insert a table with content specified by a cell.
call = text(fg, paragraph, alignment, lpos, weight)
TEXT Method to write a paragraph of text.
zoom(fg)
ZOOM Zoom to current page size.
146