did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781931097048

. NET Graphics and Printing : A Comprehensive Tutorial and Reference for Developers

by
  • ISBN13:

    9781931097048

  • ISBN10:

    1931097046

  • Format: Paperback
  • Copyright: 2003-02-01
  • Publisher: Optimax Pub
  • Purchase Benefits
List Price: $59.95
We're Sorry.
No Options Available at This Time.

Table of Contents

Preface xix
Who Is This Book For? xx
Organization of This Book xx
Typographical Conventions xxii
Finding the Hidden Treasures xxiii
What You Need xxiv
We Would Like To Hear From You xxiv
Overview of .NET Graphics and the GDI+
1(10)
The Windows GDI+
2(9)
Two-Dimensional Vector Graphics
4(1)
Bitmap Graphics
4(1)
Typography
4(1)
Drawing Surfaces and Device Contexts
4(1)
The .NET Graphics Namespaces
5(1)
System. Drawing
6(1)
System.Drawing.Drawing2D
6(1)
System.Drawing.Imaging
6(1)
System.Drawing.Text
6(1)
System.Drawing.Printing
6(1)
Demo: A First Graphics Program
6(5)
Fundamental Classes, Structures, and Techniques
11(40)
Introduction to the Graphics Class
12(4)
The Windows Screen and the Paint Event
12(1)
Creating a Graphics Object
13(1)
Demo: Performing Drawing Operations
14(2)
The Client Form
16(1)
Form Information
16(1)
Form Events
16(1)
Colors
17(8)
How Colors are Represented
17(1)
The Color Structure
18(1)
The System-Defined Colors
18(1)
User-Defined Colors
18(2)
Other Color Members
20(2)
Demo: Displaying RGB Colors
22(3)
Specifying Positions, Areas, and Sizes
25(2)
The Point and PointF Structures
25(1)
Modifying Point and PointF Data
25(1)
PointF to Point Conversions
26(1)
Other Point and PointF Members
26(1)
The Size and SizeF Structures
27(2)
Modifying Size and SizeF Data
27(1)
Size and SizeF Conversions
28(1)
Other Size and SizeF Members
29(1)
The Rectangle and RectangleF Structures
29(10)
Modifying Rectangle and RectangleF Data
30(1)
Unions, Intersections, and Hit Testing
31(1)
Demo: Hit Testing with the Mouse
32(2)
RectangleF to Rectangle Conversions
34(1)
Other Rectangle and RectangleF Members
35(1)
Demo: Playing with Rectangles
35(4)
Scaling and Coordinates
39(6)
World, Page, and Device Coordinates
40(5)
More About the Graphics Class
45(6)
Saving and Restoring Graphics State
45(2)
Additional Graphics Class Members
47(2)
Double Buffering and Flicker
49(2)
Using .NET Controls for Graphics
51(20)
Displaying Images with the PictureBox Class
52(11)
Drawing and Other Graphics Operations in a PictureBox Control
54(1)
Saving Images from a PictureBox
55(1)
Additional PictureBox Members
56(1)
Demo: Drawing on a PictureBox
56(3)
Demo: An Automatic Image Viewer
59(4)
The ColorDialog Control
63(3)
Managing Collections of Images with the ImageList Class
66(3)
Displaying Images within Controls
69(2)
The Image Property
69(1)
The BackgroundImage Property
69(2)
Basic Drawing Operations: Lines and Shapes
71(22)
Pens and Brushes
72(1)
Drawing Method Summary
72(1)
Drawing Lines
72(13)
Straight Lines
73(1)
Multi-Segment Lines
74(1)
Arcs
75(1)
Open Curves
76(2)
Closed Curves
78(1)
Bezier Curves
79(3)
Demo: Bezier Curves
82(3)
Drawing Shapes
85(8)
Ellipses
85(2)
Pie Shapes
87(1)
Closed Curves
87(1)
Rectangles
88(2)
Polygons
90(3)
Defining Pens and Brushes
93(34)
Defining Pens for Drawing Operations
94(9)
Defining Custom Pens with the Pen Class
94(1)
Alignment
95(1)
Compound Pens
95(1)
Start and End Caps
96(2)
Dashed and Dotted Lines
98(2)
Join Appearance
100(1)
Hatched and Gradient Pens
101(2)
Tip Shape
103(1)
Using Predefined Pens with the Pens Class
103(1)
Defining Brushes for Drawing Operations
103(18)
Solid Brushes
103(1)
Hatched Brushes
104(2)
Texture Brushes
106(3)
Linear Gradient Brushes
109(4)
Creating Custom Gradients with Blend
113(2)
Other Custom Gradient Options
115(4)
Creating Multi-Color Gradients with ColorBlend
119(1)
Other LinearGradientBrush Members
120(1)
Path Gradient Brushes
120(1)
Using Predefined Brushes with the Brushes Class
121(1)
Demo: Fun With Gradients
121(6)
Working with Text
127(50)
The Basics
128(1)
Windows Fonts --- a Primer
129(1)
Fonts and Font Families
130(7)
Font Size
131(1)
Defining Fonts for Text Output
132(1)
The Font Class
133(2)
Working with Font Families
135(2)
Demo: Determining if a Font is Installed
137(5)
Font Metrics
140(2)
Drawing Text
142(15)
Specifying Text Position
143(2)
The StringFormat Class
145(1)
Tab Stops
145(2)
Text Alignment
147(2)
Text Trimming
149(2)
The FormatFlags Property
151(3)
Text Output Quality
154(3)
Generic StringFormat Objects
157(1)
Measuring Text for Output
157(1)
Measuring an Entire String
157(1)
Demo: Using the MeasureString() Method to Position Text
158(2)
Measuring Substrings
160(4)
Demo: Measuring Substrings
162(2)
WYSIWYG and Text
164(3)
Selecting Fonts with the FontDialog Control
167(3)
Demo: Implementing a Private Font Collection and a Font Selection Menu
170(7)
Working with Graphic Paths
177(42)
Defining a Graphics Path
178(18)
Adding Lines and Shapes to a Path
179(1)
Arcs and Pie Shapes
180(1)
Bezier Curves
181(1)
Spline Curves
182(1)
Ellipses
183(1)
Straight Lines
183(1)
Polygons
184(1)
Rectangles
184(1)
Paths
185(1)
Adding Text to a Path
185(2)
Figures and Connections in a Path
187(3)
Path Gradient Brushes
190(6)
Accessing Path Data
196(2)
Defining Subpaths with Markers
198(1)
Modifying a Path
199(1)
Hit Testing with Paths
200(4)
Demo: Hit Testing with Paths
201(3)
The GraphicsPathIterator Class
204(15)
Working With Subpaths
204(3)
Demo: Selecting and Deleting Figures in a Path
207(5)
Additional GraphicsPathIterator Members
212(2)
Demo: Using Markers to Define Subpaths
214(5)
Regions, Clipping, and Hit Testing
219(30)
The Region Class
220(9)
Defining a Region
220(2)
Modifying a Region
222(1)
Complement
222(2)
Exclude
224(1)
Intersect
225(1)
Union
226(1)
Xor
227(1)
Other Region Methods
228(1)
Clipping Graphics Output
229(9)
Demo: Using Clipping to Display Fancy Text
233(2)
Testing for Visibility
235(1)
Demo: Checking for Visibility
236(2)
Hit Testing
238(11)
Hit Testing With Arbitrary Shapes
240(1)
Hit Testing With Lines
241(1)
Demo: Hit Testing with Regions
242(7)
Special Considerations for Printing
249(54)
Basics of the PrintDocument Class
250(1)
Demo: Basic Printer Output
251(1)
A More Detailed Overview
252(1)
Printer Settings
253(7)
The PrintDialog Class
253(2)
The PrinterSettings Class
255(3)
Specifying a Printer
258(2)
Page Settings
260(12)
The PageSettings Class
261(1)
The Margins Class
262(1)
Printer Resolution
262(2)
Paper Sizes
264(2)
Paper Sources
266(1)
The PageSetupDialog Class
267(3)
Demo: Selecting Printer Resolution and Paper Source
270(2)
The PrintController Class
272(1)
Print Preview
273(6)
Demo: Using the PrintPreviewControl Class
275(4)
Positioning Output on the Page
279(13)
Margins
279(5)
Demo: Accurate Page Margins
284(2)
Page Units and Scaling
286(1)
Fitting Output to the Page
287(2)
Demo: Scaling Output for the Printer
289(3)
Printing Text Documents
292(7)
Demo: Printing a Multi-Page Text Document
294(5)
Individual Page Settings
299(4)
Demo: Applying Individual Page Settings
300(3)
Working with Bitmap Images
303(56)
Overview of Bitmaps
304(4)
Color Depth
304(1)
Palettes
305(1)
Bitmap File Formats
306(2)
The Bitmap Class
308(38)
Creating a Bitmap from a File
308(1)
Creating a Bitmap from an Existing Image
309(2)
Displaying a Bitmap
311(7)
Demo: Displaying an Image from the Web
318(2)
Creating an Empty Bitmap
320(4)
Saving a Bitmap
324(1)
Drawing on a Bitmap
325(1)
Demo: Adding Text to a Bitmap
325(6)
Working With Transparency
331(1)
Demo: Using Transparency
331(3)
Working With Individual Pixels
334(1)
Demo: One-Click Color Adjustment
334(8)
Getting an Image Thumbnail
342(1)
Rotating and Flipping Images
343(2)
Other Bitmap Members
345(1)
Demo: How to Implement ``Undo'' For Image Editing
346(2)
Bitmaps as Resources
348(4)
Icons
350(2)
Demo: Shadow Bitmaps and Sketching
352(3)
Demo: Simple Animation
355(4)
Specialized Graphics using the ControlPaint Class
359(20)
ControlPaint Overview
360(1)
Drawing Reversible Lines and Boxes
360(11)
Demo: Drawing Rubber-Band Boxes
362(9)
Drawing Grab Handles
371(1)
Demo: Marking Selected Objects with Handles
372(7)
Geometric Transformations
379(36)
Matrices and Matrix Operations
380(6)
Matrices and Transforms
382(4)
Defining Transforms With the Matrix Class
386(10)
Scaling
388(1)
Rotation
389(3)
Shear
392(2)
Translate
394(1)
Other Matrix Members
395(1)
Applying Global Transformations
396(1)
Applying Local Transformations
397(1)
Transforming Pens
398(3)
Transforming Brushes
401(2)
Demo: Image Transformations
403(4)
Fancy Text Effects
407(8)
Demo: Transforming Text
408(7)
Advanced Color Techniques
415(20)
Image Attributes
416(15)
Color Mapping
417(1)
Color Transformations
417(1)
Defining Color Transformations With The ColorMatrix Class
418(5)
Applying Color Transformations
423(1)
Demo: Experimenting with Color Rotations
424(6)
Gamma
430(1)
The ColorPalette Class
431(1)
The ColorTranslator Class
432(3)
Metafiles
435(18)
Introduction to Metafiles
436(1)
The Metafile Class
437(1)
Metafile Headers
437(2)
Metafile Image Size, Resolution, and Bounds
439(2)
Converting Metafiles to Bitmaps
441(1)
Creating New Metafiles
442(5)
Creating a Metafile on Disk and in Memory
442(1)
Create a Metafile in Memory Only
443(2)
Creating a Metafile Based on a Printer
445(1)
Creating a Metafile With a Specified Bounding Rectangle
446(1)
Demo: A Metafile-Based Pie Chart Component
447(6)
More .NET Graphics Techniques
453(36)
Using the Windows Clipboard with Graphics
454(2)
Demo: Using the Clipboard
456(2)
Implementing Drag and Drop for Graphics
458(5)
Demo: Dragging Images to the Printer
460(3)
Implementing Layers in a Graphics Program
463(7)
Demo: Graphics Editing With Layers
464(6)
Cropping an Image
470(4)
Demo: Using a Rubber Band Box to Crop an Image
470(4)
Demo: Animation
474(5)
Demo: Displaying System Tray Icons
479(3)
Demo: Creating Your Own Graphical Controls
482(7)
Web Graphics in .NET
489(18)
ASP.NET and Graphics
490(1)
The Image Control
491(5)
The ImageButton Control
496(1)
Code in ASP.NET Applications
497(1)
Installation of Demos
497(1)
Demo: A Web Color Identifier
498(3)
Demo: A Web Image Magnifier
501(6)
Bit-Blasting with the GDI
507(16)
Bit-Blasting --- Why and How?
508(6)
Raster Operations
509(1)
Using BitBlt() In Your .NET Programs
510(4)
Demo: Screen Capture
514(4)
Demo: Form Capture
518(5)
Fun with Fractals
523(30)
Fractals --- the Basics
524(7)
What is a Fractal Image?
524(2)
Generating Fractal Images
526(1)
Complex Numbers
526(2)
The Complex Plane
528(2)
Generating Fractals
530(1)
Color and Fractals
531(1)
Demo: Generating the Mandelbrot Set
531(11)
Julia Sets
542(1)
Demo: Generating Julia Sets
543(10)
Appendix A What's on the CD-ROM 553(6)
Installing the Book's Projects from the CD-ROM
554(1)
List of Projects on the CD-ROM
555(4)
Index 559

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program