Provide a line-by-line explanation for the PostScript code in Figure 4.14. Figure 4.14 % procedure to draw
Question:
Figure 4.14
Transcribed Image Text:
% procedure to draw pie slice %arguments graylevel, start angle, finish angle /wedge { 0 0 moveto setgray langlel exch def langle2 exch def 00 144 anglel angle2 arc 0 0 lineto closepath } def % add text to drawing 0 setgray 144 144 moveto (baseball cards) show -30 200 (cash) show -216 108 (stocks) show 32 scalefont (Personal Assets) show showpage %set up text font for printing /Helvetica-Bold findfont 16 scalefont setfont cash baseball cards .4 72 108 wedge fill % 108–72 = 36 = .1 circle .8 108 360 wedge fill % 70% % print wedge in three parts stocks %3D 32 12 translate 00 72 wedge fill gsave -88 translate 10 72 wedge fill O setgray stroke grestore Personal Assets
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 60% (5 reviews)
wedge def define a procedure named wedge to draw a wedge 0 0 moveto set cursor at xy 00 setgray read...View the full answer
Answered By
Diksha Bhasin
I have been taking online teaching classes from past 5 years, i.e.2013-2019 for students from classes 1st-10th. I also take online and home tuitions for classes 11th and 12th for subjects – Business Studies and Economics from past 3 years, i.e. from 2016-2019. I am eligible for tutoring Commerce graduates and post graduates. I am a responsible for staying in contact with my students and maintaining a high passing rate.
5.00+
1+ Reviews
10+ Question Solved
Related Book For
The Architecture of Computer Hardware, Systems Software and Networking An Information Technology App
ISBN: 978-1118322635
5th edition
Authors: Irv Englander
Question Posted:
Students also viewed these Computer science questions
-
In multiprocessor memory systems, lower levels of the memory hierarchy may not be able to be saturated by a single processor, but should be able to be saturated by multiple processors working...
-
What will the code in Figure 4-53 assign to the intCost variable when the intAge variable contains the number 65? a. 0 b. 5 c. 8 d. 10 If intAge
-
What will the code in Figure 4-53 assign to the intCost variable when the intAge variable contains the number 2? a. 0 b. 5 c. 8 d. 10 If intAge
-
Let y vary directly with x. Complete the following. Find y when x = 1, if y = when x = 3.
-
Carson Construction Consultants performs cement core tests in its Greenville laboratory. The following standard costs for the tests have been developed by the company's controller, Landon Carson,...
-
Suppose that you are the leader of a project aimed to quickly develop and explore radical new business opportunities that exploit the companys strengths in supply chain management. What types of...
-
Why should an organization strictly adhere to ethical standards wherever it operates? L01
-
Vidi Corporation, a private enterprise, made the following purchases related to its property, plant, and equipment during its fiscal year ended December 31, 2017. The company uses the straight-line...
-
Wonder Mountain Company operates a snow sports resort for skiers and snowboarders. The company has recently decided to replace an existing old chair lift with a new high-speed quad chair and expand...
-
Annapolis Company purchased a $2,000, 7%, 9-year bond at 99 and held it to maturity. The straight line method of amortization is used for both premiums & discounts. What is the net cash received...
-
If you have studied COBOL, discuss the difference between numeric characters and numbers in the context of a COBOL program. Does COBOL distinguish clearly between the two? If so, in what ways?
-
Unicode is downward compatible with the Latin-1 version of 8-bit ASCII in the sense that a Unicode text file that is limited to the Latin-1 character set will be read correctly on a system that does...
-
Write the binomial expansion of the expression. (x + 2y) 4
-
James A. and Ella R. Polk, ages 70 and 65, respectively, are retired physicians who live at 3319 Taylorcrest Street, Houston, Texas 77079. Their three adult children (Benjamin Polk, Michael Polk, and...
-
I need help solving the following question: - Thank you in advance. On January 1, Year 6, HD Lid., a building supply company, JC Lid., a construction company, and Mr. Saeid, a private investor,...
-
Let X 1 , , X n X 1 , , X n be a random sample from a normal distribution with mean and variance 1. Find the uniformly minimum variance unbiased estimator of 2 2 .2 answers
-
The ledger of Duggan Rental Agency on March 31 of the current year includes the following selected accounts before adjusting entries have been prepared. Debit Credit Prepaid Insurance $3,600 Supplies...
-
1.Using the Excel file Sales transaction find the following15 Marks a.Identify the levels of measurement for each variables b.Construct a cross tabulation to find the number of transactions by...
-
How does a variable interest rate loan insure the lender against unanticipated increases in inflation?
-
A. Select a recent issue (paper or online) of Report on Business Magazine, Canadian Business Magazine (online only), Bloomberg Businessweek, Fast Company, The Economist, or another business magazine....
-
A 68020 assembly language instruction that uses a bit field operation with a complex effective address is: Write a suitable sequence of ARM processor operations that would perform the same action....
-
The 68020's CHK2 and CMP2 instructions are rather nice because they let you compare a register against two bounds in order to perform array subscript checking at run time. Unfortunately, they are...
-
Suppose that multiple-precision shifts did not exist and that you could use only logical shifts. How would you implement a double-precision shift by using only single-precision shifts?
-
ACC 2 0 2 Milestone One: Operational Costs Data Appendix You plan to open a small business for manufacturing pet collars, leashes, and harnesses. You have found a workshop space you can use for...
-
Explain the following: Understand the PPE acquisition (or investing) cycle and related significant transactions and source documents Understand the relevant assertions/objectives about PPE balances...
-
Problem 3 Progress Company acquired 6 0 % of Stall Corporation on 1 2 0 2 0 . Fair values of Stall's assets and liabilities approximated book values on that date. Progress uses the initial value...
Study smarter with the SolutionInn App