- Shopping Bag ( 0 items )
This Wrox Blox shows you how to add graphics to Visual Basic 2008 applications by explaining fundamental graphics techniques such as: drawing shapes with different colors and line styles; filling areas with colors, gradients, and patterns; drawing text that is properly aligned, sized, and clipped exactly where you want it; manipulating images and saving results in bitmap, JPEG, and other types of files. Also covered are instructions for how to greatly increase your graphics capabilities using transformations, ...
This Wrox Blox shows you how to add graphics to Visual Basic 2008 applications by explaining fundamental graphics techniques such as: drawing shapes with different colors and line styles; filling areas with colors, gradients, and patterns; drawing text that is properly aligned, sized, and clipped exactly where you want it; manipulating images and saving results in bitmap, JPEG, and other types of files. Also covered are instructions for how to greatly increase your graphics capabilities using transformations, which allow you to move, stretch, or rotate graphics. They also let you work in coordinate systems that make sense for your application. The author also describes techniques for using the above in printouts, describing the sequence of events that produce a printout and show how to generate and preview printouts, with examples which show how to wrap long chunks of text across multiple pages, if necessary.
In addition, you will learn about two powerful new graphic tools that were introduced with .NET Framework 3.0: WPF graphics and FlowDocuments. XAML graphic commands allow a WPF application to draw and fill the same kinds of shapes that a program can draw by using graphics objects.
Finally, a discussion on the FlowDocument object shows you how to define items that should be flowed across multiple pages as space permits. This lets you display text, graphics, controls, and other items that automatically flow across page breaks. FlowDocument viewers make displaying these documents easy for you, and simplifies the user's reading of the documents.
This Wrox Blox also contains 35 example programs written in Visual Basic 2008, although most of the code works in previous versions of Visual Basic .NET as well. The most notable exceptions are WPF graphics and FlowDocuments, both of which require WPF provided in .NET Framework 3.0 and later.
Table of Contents
Section 1: Using Graphics, Pens, and Brushes
Getting a Graphics Object
Using a Graphics Object
Section 2: Using Advanced Pens and Brushes
Custom Dash Patterns
Custom End Caps
Linear Gradient Brushes
Path Gradient Brushes
Section 3: Drawing Text
Drawing Simple Text
Using Layout Rectangles
Section 4: Manipulating Images
Creating and Loading Bitmaps
Saving Image Files
Section 5: Using Transformations
World Coordinate Mapping
Section 6: Printing
Using Other Event Handlers
Section 7: Using WPF Graphics
Section 8: Building FlowDocuments
|Pt. 1||Working with Windows||1|
|Ch. 1||Visual Basics||3|
|Ch. 2||Using the API||37|
|Ch. 3||Beyond the Basics||65|
|Pt. 2||Image Processing and Animation||115|
|Ch. 4||Image Processing||117|
|Pt. 3||Two-Dimensional Graphics||245|
|Ch. 6||Scan Conversion||247|
|Ch. 7||Two-Dimensional Transformations||295|
|Ch. 8||Fractals and Tilings||347|
|Pt. 4||Three-Dimensional Graphics||395|
|Ch. 9||Three-Dimensional Transformations||397|
|Ch. 11||Hidden Surface Removal||507|
|Ch. 12||Shading Models||535|
|Ch. 13||Ray Tracing||557|
|Pt. 5||Graphics of Higher Dimensions||619|
|Ch. 14||Higher-Dimensional Transformations||621|
|App. A||API Functions Used in this Book||639|
|App. B||Descriptions of Example Programs||653|
|App. C||Summary of Transformations||661|
Posted April 12, 2011
While the table of contents looks great for this book, the actual book once downloaded is only 50 pages. The book online is by the same author, but is copyright 2008.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.