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: 75% (4 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,...
-
Determine whether the set W = { R | = (a, b, c) where b = a + c} is a subspace of R or not.
-
P(x > 70) The random variable x is normally distributed with mean = 74 and standard deviation = 8. Find the indicated probability.
-
Income Distribution of a Partnership (Appendix) Louise Abbott and Buddie Costello are partners in a comedy club business. The partnership agreement specifies the manner in which income of the...
-
1. The ball is thrown off the top of the building. If an initial velocity is VA and angle BA- 45 degrees find the time of travel from A to B. Also, find the magnitude of the ball's velocity...
-
Bradley purchased a $200,000 whole life policy when he was 25. Now, 20 years later, he wants to know what his non-forfeiture options are. Use the table below to answer the questions following....
-
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...
-
When boarding an airplane, you bring a bag of chips (or any other item packaged in an airtight foil package) and, while you are in flight, you notice that the bag puffs up. Explain why this happens.
-
As the marketing manager you are planning to introduce a new line of computers with a fixed cost of $1,000,000, retail price of $689, variable cost of $220.00 and forecasted sales of 3,000 units. You...
-
2. Sorting data is an important task that many data storage systems use. This problem will be based on the bubble sort. The bubble sort will compare adjacent entries and swap them if the entries are...
-
is an ultra fund better for someone that is young or someone nearing retirement?please explain in your own wording .
-
If the Hunt's have a net discretioney cash clow of 15,000 where can that moeny go to?
-
Based on the video and article reviewed answer the following questions Using Barthes semiotic model identify the denotative and connotative meanings of the "red dress" within the context of "The...
-
Why are deposits a more important source of funds for small banks than for large banks? Why are deposits considered a more stable source of funds for small banks than for large banks?
-
Baxter, Inc., owns 90 percent of Wisconsin, Inc., and 20 percent of Cleveland Company. Wisconsin, in turn, holds 60 percent of Clevelands outstanding stock. No excess amortization resulted from these...
-
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?
-
Large-scale industrial production - accompanied by massive technological change, expanding international communication networks, and pro-growth government policies-generated rapid economic...
-
How can this relate to individuals who have had a TBI and are currently homeless or marginally housed?
-
1. According to Marxian theory, are crises an economic process inherent to the accumulation dynamics of current capitalism? Justify your answer. 2. According to Marxian theory, what do you consider...
Study smarter with the SolutionInn App