Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Visual Basic Graphics Programming (with CD-ROM) [Paperback]

Rod Stephens
3.2 out of 5 stars  See all reviews (5 customer reviews)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Special Offer until June 30, 2013: Receive an additional £5 promotional Gift Certificate, when you trade-in at least £10 worth of books. Learn more.
There is a newer edition of this item:
Visual Basic Graphics Programming 2nd Edition [Book & CD Rom] Visual Basic Graphics Programming 2nd Edition [Book & CD Rom] 4.2 out of 5 stars (4)
£28.77
In stock.

Book Description

16 April 1997 0471155330 978-0471155331 Bk&CD-Rom
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 2

Getting a Graphics Object 3

Using a Graphics Object 5

Creating Pens 8

Creating Brushes 11

Section 1 Wrap–up 13

Section 2: Using Advanced Pens and Brushes 14

Custom Dash Patterns 14

Longitudinal Stripes 16

Custom End Caps 17

Linear Gradient Brushes 18

Path Gradient Brushes 20

Section 2 Wrap–up 21

Section 3: Drawing Text 22

Drawing Simple Text 22

Using Layout Rectangles 23

Section 3 Wrap–up 27

Section 4: Manipulating Images 27

Creating and Loading Bitmaps 27

Manipulating Bitmaps 29

Saving Image Files 32

Section 4 Wrap–Up 33

Section 5: Using Transformations 33

Basic Transformations 33

World Coordinate Mapping 36

Section 5 Wrap–up 40

Section 6: Printing 40

Using PrintPage 41

Using Other Event Handlers 44

Printing Transformations 45

Section 6 Wrap–up 48

Section 7: Using WPF Graphics 48

Decorative Controls 49

Shape Controls 49

Brushes 53

ImageBrush 56

Section 7 Wrap–up 57

Section 8: Building FlowDocuments 57

BlockUIContainer 58

List 58

Paragraph 58

Section 58

Table 58

Section 8 Wrap–up 60

Conclusion 61

About Rod Stephens 62

Usage Rights for Wiley Wrox Blox

Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:

  • Are entitled to three downloads
  • Are entitled to make a backup copy of the file for your own use
  • Are entitled to print the Wrox Blox for your own use
  • Are entitled to make annotations and comments in the Wrox Blox file for your own use
  • May not lend, sell or give the Wrox Blox to another user
  • May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it
  • May not copy the Wrox Blox file other than as allowed above
  • May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley

If you have any questions about these restrictions, you may contact Customer Care at (877) 762–2974 (8 a.m. – 5 p.m. EST, Monday – Friday). If you have any issues related to Technical Support, please contact us at 800–762–2974 (United States only) or 317–572–3994 (International) 8 a.m. – 8 p.m. EST, Monday – Friday).


Product details

  • Paperback: 704 pages
  • Publisher: John Wiley & Sons; Bk&CD-Rom edition (16 April 1997)
  • Language: English
  • ISBN-10: 0471155330
  • ISBN-13: 978-0471155331
  • Product Dimensions: 23.4 x 19.2 x 3.8 cm
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Bestsellers Rank: 2,718,365 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

From the Author

Everything you need to know about graphics programming!
This books tells you all you need to know about graphics in Visual Basic. It covers basics such as printing, and more advanced topics like image processing, three-dimensional graphics, and ray tracing.

From the Back Cover

The definitive guide to creating graphics applications and features with Visual Basic—including version 5.0

In this book, Visual Basic expert Rod Stephens provides a powerful blend of graphics principles and proven hands–on techniques. He teaches the practical fundamentals for the full range of graphics–intensive programs, including data display, multimedia, and games. Readers will learn how to both create entire graphics applications and add sophisticated graphics capabilities to nongraphics applications. Visual Basic Graphics Programming covers:

  • Visual Basic controls programming.
  • Graphics programming with the Windows 95 API.
  • Image processing.
  • Animation, 2–D, and 3–D graphics.
  • Shading models, ray tracing, and radiosity.
  • Geometric and other graphics algorithms for Visual Basic.

Includes CD–ROM with

  • A complete library of graphics, subroutines, and functions.
  • Sample programs from the book, which readers can customize and reuse in their own programs.

Visit our Web site at: http://www.wiley.com/compbooks/


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

Most Helpful Customer Reviews
3.0 out of 5 stars Visual Basic Graphics 10 Jan 2011
By El Den
Format:Paperback
The book was very useful for Visual Basic 5 program development.
I hope that Rod Stephenswill update it for Visual Basic 2010.
Comment | 
Was this review helpful to you?
By A Customer
Format:Paperback
The scope of this book in much too broad. You will find chapters quite appealing and useful to your needs, but just when you partake of the fruit of your interest (mine: image processing) the chapter(s) end and you're kicked out of the garden of graphical programming delights and into the forbidden territory of no interest (for me; 3D, ray tracing, ...). I, however, give this title reasonably good marks due to the difficulty of finding titles with content focusing only on one's graphical/image programming needs.
Comment | 
Was this review helpful to you?
By A Customer
Format:Paperback
The graphics handling presented in the book takes no account of multiple color depths... only 256-color mode. There is no code presented to handle what we all face every day... a mixture of 256-color, 16-bit high color and 24-bit true color images. Even if you run in the required 256-color mode, many examples don't work properly. This book is a disappointment.
Comment | 
Was this review helpful to you?
By A Customer
Format:Paperback
The book does wonderful things. But,,, the typical purchaser buys the book to get help for an application, not light reading...
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Simply the BEST!!!! 27 Aug 1997
By A Customer
Format:Paperback
This graphics book shows the implementation of all sort of image processing, image syntesis, ray trace, fractal,etc. in a very easy manner, the algorithm implementation is elegant and shows the magic and beauty of the mathematics involved.

Reading how the analytic geometry, matrix operations, calculus, etc. are applied in a real life task is just GREAT!!. I think universities must show the students the application of all those arid mathematical concepts to motivate them.

A book we all MUST have.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Feedback