C# Graphics Programming

Overview

This Wrox Blox teaches you how to add graphics to C# 2008 applications, 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...
See more details below
Available through our Marketplace sellers.
Other sellers (Item)
  • All (1) from $22.00   
  • New (1) from $22.00   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$22.00
Seller since 2014

Feedback rating:

(5)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
2008 New. Brand New US Edition E-BOOK. Unique Online Access Code will be mailed/emailed upon purchase **NO REFUND ON E-BOOK TITLES** Please ask for JR with any product ... inquiries--thks! Brand New US Edition E-BOOK. Unique Online Access Code will be mailed/emailed upon purchase **NO REFUND ON E-BOOK TITLES** Please ask for JR with any product inquiries--thks! Read more Show Less

Ships from: Stone Mountain, GA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
C# Graphics Programming

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$5.99
BN.com price
(Save 14%)$6.99 List Price
This digital version does not exactly match the physical book displayed here.

Overview

This Wrox Blox teaches you how to add graphics to C# 2008 applications, 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. Transformations allow you to move, stretch, or rotate graphics. They also let you work in coordinate systems that make sense for your application. You will also learn how to use all of these techniques in printouts. The author describes the sequence of events that produce a printout and shows how to generate and preview printouts.

The final sections describe two powerful new graphic tools that were introduced with .NET Framework 3.0: WPF graphics and FlowDocuments. WPF applications can use XAML graphic commands to declaratively 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 C# 2008, although most of the code works in previous versions of C# as well. The most notable exceptionsare WPF graphics and FlowDocuments, both of which require WPF provided in .NET Framework 3.0 and later.

Read More Show Less

Product Details

  • ISBN-13: 9780470343494
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 3/10/2008
  • Series: Wrox Briefs , #19
  • Format: Ebook Other
  • Pages: 69

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 14

Section 2: Using Advanced Pens and Brushes 15

Custom Dash Patterns 15

Longitudinal Stripes 16

Custom End Caps 18

Linear Gradient Brushes 19

Path Gradient Brushes 21

Section 2 Wrap-up 22

Section 3: Drawing Text 23

Drawing Simple Text 23

Using Layout Rectangles 24

Section 3 Wrap-up 28

Section 4: Manipulating Images 28

Creating and Loading Bitmaps 29

Manipulating Bitmaps 31

Saving Image Files 33

Section 4 Wrap-up 35

Section 5: Using Transformations 35

Basic Transformations 35

World Coordinate Mapping 38

Section 5 Wrap-up 42

Section 6: Printing 42

Using PrintPage 43

Using Other Event Handlers 46

Printing Transformations 48

Section 6 Wrap-up 51

Section 7: Using WPF Graphics 51

Decorative Controls 51

Shape Controls 52

Brushes 56

Section 7 Wrap-up 60

Section 8: Building FlowDocuments 60

BlockUIContainer 61

List 61

Paragraph 61

Section 61

Table 61

Section 8 Wrap-up 63

Conclusion 64

About Rod Stephens 65

Usage Rights for Wiley Wrox Blox

Any Wrox Blox you purchase from this site will come withcertain 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
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Posted July 17, 2011

    Disappointed

    The sample gives an error message when trying to open it.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)