A PostScript Cookbook by Barry Thomas (auth.)

By Barry Thomas (auth.)

Show description

Read or Download A PostScript Cookbook PDF

Similar desktop publishing books

Adobe InDesign CS Bible

It is a advisor to making high-impact files utilizing complex, easy-to-use portraits and textual content good points, masking InDesign's new interface improvements and template gains.

Sams Teach Yourself Adobe Acrobat 5 in 24 Hours

Sams train your self Adobe Acrobat five in 24 Hours indicates readers the best way to successfully create, deal with, and use PDF documents to enhance productiveness. Going past the ''how-to'' concerned with making and allotting PDF records, this publication additionally explores while to exploit PDF documents for collaboration on tasks. Adobe Acrobat comprises quite a lot of clients' various wishes, and Sams educate your self Adobe Acrobat five in 24 Hours sincerely spells out the stairs and settings important for every form of venture.

Instant Encore DVD 1.5

Conscientiously special reveal pictures and step by step instructions illustrate the right way to use Encore DVD software program in a time-efficient approach. Readers learn how to harness the entire scope of Encore DVD's services, together with uploading and organizing content material to construct the DVD, utilizing Photoshop to create menus, and end authoring.

Schaum’s Outline of Computer Graphics

Ratings of examples and difficulties let scholars to hone their abilities. transparent causes of basic projects facilitate scholars’ knowing of significant techniques. New! Chapters on shading types, shadow, and texture―including the Phong illumination model―explain the most recent concepts and instruments for attaining photorealism in special effects.

Extra info for A PostScript Cookbook

Example text

The font is then selected for the section labels. Again the font is Times, but at a smaller point size. The contents of the stack down to the mark is then duplicated. This gives us one set of data which can be used to fmd the total of all the numeric values and another set for drawing the actual chart. So next, the total of the numerics is found, this giving us a multiplication factor when divided into the maximum chart height of 640points. The top mark is removed and each value pair dealt with by the procedure item.

Val as string xpos vpos moveto % to bottom left of cur. item width 0 rlineto % draw box ... 0 value factor mul rlineto width neg 0 rlineto closepath gsave % save outline % set gray shade currgray setgray fill grestore % fill bar & restore key-line stroke /currgray % increment gray level for % next bar currgray grayinc add def /vpos vpos value factor mul add % update vertical position def } def 44 /Times-Bold findfont 24 scalefont set font A POSTSCRIPT COOKBOOK % set font for title title dup stringwidth pop% get width of title 2 div 300 exch sub 90 moveto % pos'n for start of title show % show title /Times-Bold findfont 16 scalefont setfont % font for labels number 2 mul 1 add copy number % duplicate contents % ready to add them up pop total add /total exch def } repeat % get total of values 640 total div /factor exch def pop number {item} repeat pop stroke l def % get multip.

Each iteration of the main procedure produces a loop to each side of the longditudinal centre line. % Curveto Pattern /ctpattern { 90 rotate 120 -300 translate 9 setlinewidth 1 setlinecap % % % % 3 % 3 iterations of procedure { landscape orientation x axis to centre of page thick line round line caps 57 3. USING GRAPIDCS 0 0 moveto 400 200 -300 200 100 0 curve to % current point 100 0 translate % move across for other half 0 0 moveto 400 -200 -300 -200 100 0 curve to % % % % % 100 0 translate } repeat stroke } def % point 1 % point 2 % point 3 % draw curve current point point 1 point 2 point 3 draw curve % across for next iteration ctpattern showpage The program frrst rotates the axis around by 90 degrees and sets the origin at the centre line of the page.

Download PDF sample

Rated 4.39 of 5 – based on 3 votes

Categories: Desktop Publishing