Java 2D Graphics 1999.pdf
(
2627 KB
)
Pobierz
Microsoft Word - Java 2D Graphics -- O'reilly.doc
...............................................................................
Who Are You?
2
................................................................
About This Book
2
.............................................................
About the Examples
2
........................................................
2
............................................................
Request for Comments
2
...................................................
2
Acknowledgments
...........................................................
2
................................................................
About This Book
2
.............................................................
About the Examples
3
........................................................
4
............................................................
Request for Comments
5
...................................................
5
Acknowledgments
...........................................................
6
Chapter 1. Introduction
....................................................
6
...........................................................
What Can Java 2D Do?
6
..................................................
7
Relatives
.........................................................................
9
...........................................................................
Where Do I Get a Graphics2D?
11
......................................
11
File Formats
....................................................................
13
Hello, 2D!
........................................................................
14
Chapter 2. The Big Picture
...............................................
18
.....................................................................
The Rendering Pipeline
18
..................................................
19
All About Alpha
...............................................................
21
....................................................................
Coordinate Space
23
...........................................................
24
Chapter 3. Geometry
.........................................................
25
Points
..............................................................................
25
Find Your Inner Child
.......................................................
26
Shapes and Paths
..........................................................
27
If You’re an Old Dog
.........................................................
27
..............................................................
Lines and Curves
29
............................................................
37
......................................................................
Ellipses and Arcs
44
............................................................
Constructive Area Geometry
48
..........................................
51
Preface
Font Conventions
Who Are You?
Font Conventions
What Is Java 2D?
Genesis
Graphics2D
Compositing
Flattened Shapes
Rectangles
Chapter 4. Painting and Stroking
....................................
54
Painting
...........................................................................
55
Stroking
...........................................................................
66
Overlap
...........................................................................
70
Chapter 5. Rendering
........................................................
72
Transforming
...................................................................
72
........................................................................
Compositing
79
....................................................................
85
...........................................................................
Rendering Hints
90
..............................................................
91
Chapter 6. Text
..................................................................
94
.........................................................................
Drawing Text
94
...................................................................
96
What’s an Iterator?
...........................................................
99
Fonts
...............................................................................
109
............................................................................
Font Metrics
....................................................................
112
Chapter 7. Advanced Text Layout
...................................
120
Using the TextLayout Class
............................................
120
Getting Close to the Metal
..............................................
135
................................................................
If You’re Not Too Picky...
141
................................................
141
Physics and Physiology
..................................................
145
Color Spaces
..................................................................
146
............................................................................
Putting It All Together
150
.....................................................
152
Chapter 9. Images
.............................................................
152
.........................................................................
Where Do Images Come From?
153
.....................................
154
..........................................................
Drawing on Images
158
.........................................................
164
Double Buffering
.............................................................
166
A Useful Class
................................................................
168
Chapter 10. Image Processing
.........................................
170
The New Model
...............................................................
170
Angle Units
Clipping
Overview
Hint, Hint
114
Chapter 8. Color
Profiles
Overview
Displaying Images
Combining the Old and New Methods
............................
171
...................................................................
Predefined Operations
171
....................................................
178
Space and Time
.................................................................
181
Roll Your Own
.................................................................
188
Chapter 11. Image Guts
....................................................
190
BufferedImage
................................................................
191
Color Models
...................................................................
195
Who Was That Masked Bit?
.............................................
202
Rasters
...........................................................................
206
What’s a Raster?
...............................................................
206
Sample Models
...............................................................
216
....................................................................
A PNG Decoder
218
..............................................................
219
..........................................................
The Local Graphics Environment
225
...................................
226
The GraphicsDevice Class
.............................................
227
Device Configurations
.....................................................
228
..........................................................
How Printing Works
230
........................................................
231
Controlling Printing
.........................................................
236
Power Printing
................................................................
240
Chapter 14. Animation and Performance
.......................
253
It’s Tougher Than You Might Think
.................................
253
See for Yourself
..............................................................
254
...........................................................................
Optimizations
270
..................................................................
272
............................................................................
Figure 15-1
272
.....................................................................
272
Figure 15-2
.....................................................................
273
Figure 15-3
.....................................................................
273
Figure 15-4
.....................................................................
274
Figure 15-5
.....................................................................
274
Figure 15-6
.....................................................................
274
Figure 15-7
.....................................................................
275
Figure 15-8
.....................................................................
275
Figure 15-9
.....................................................................
275
An Appetizer
Data Buffers
Chapter 12. Devices
Chapter 13. Printing
Memory
Figures
Figure 15-10
...................................................................
275
Figure 15-11
...................................................................
276
Figure 15-12
...................................................................
276
Figure 15-13
...................................................................
277
Figure 15-14
...................................................................
277
Figure 15-15
...................................................................
278
Figure 15-16
...................................................................
278
Figure 15-17
...................................................................
279
Figure 15-18
...................................................................
279
Figure 15-19
...................................................................
280
Figure 15-20
...................................................................
280
Figure 15-21
...................................................................
281
Figure 15-22
...................................................................
281
Figure 15-23
...................................................................
282
Figure 15-24
...................................................................
282
Figure 15-25
...................................................................
283
Figure 15-26
...................................................................
283
Figure 15-27
...................................................................
284
Figure 15-28
...................................................................
284
Figure 15-29
...................................................................
284
Figure 15-30
...................................................................
285
Figure 15-31
...................................................................
285
Figure 15-32
...................................................................
286
Colophon
...........................................................................
286
Plik z chomika:
X-files
Inne pliki z tego folderu:
Wireless Java Developing with J2ME 2nd 2003.chm
(2615 KB)
Wireless J2ME Platform Programming , 2002.pdf
(2614 KB)
using uml for modeling a distributed java application 1997.pdf
(707 KB)
Using Java 2 Standard Ed 2001.chm
(6449 KB)
Using Enterprise JavaBeans 2.0 2002.chm
(1098 KB)
Inne foldery tego chomika:
130 linux and unix ebooks
132 C and C++ ebooks
156 database ebooks
237.For.Dummies.ebooks.Wiley.Publishing
Architecture e-books
Zgłoś jeśli
naruszono regulamin