Wednesday, March 23, 2011

Programming, GRAPHICS

C# Graphics Programming



Your Ad Here









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. 


Your Ad Here


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. 


Your Ad Here


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. 


Your Ad Here


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 exceptions are WPF graphics and FlowDocuments, both of which require WPF provided in .NET Framework 3.0 and later. 


Your Ad Here


Table of Contents


Your Ad Here


Section 1: Using Graphics, Pens, and Brushes 2


Your Ad Here


Getting a Graphics Object 3


Your Ad Here


Using a Graphics Object 5


Your Ad Here


Creating Pens 8


Your Ad Here


Creating Brushes 11


Your Ad Here


Section 1 Wrap-up 14


Your Ad Here


Section 2: Using Advanced Pens and Brushes 15


Your Ad Here


Custom Dash Patterns 15


Your Ad Here


Longitudinal Stripes 16


Your Ad Here


Custom End Caps 18


Your Ad Here


Linear Gradient Brushes 19


Your Ad Here


Path Gradient Brushes 21


Your Ad Here


Section 2 Wrap-up 22


Your Ad Here


Section 3: Drawing Text 23


Your Ad Here


Drawing Simple Text 23


Your Ad Here


Using Layout Rectangles 24


Your Ad Here


Section 3 Wrap-up 28


Your Ad Here


Section 4: Manipulating Images 28


Your Ad Here


Creating and Loading Bitmaps 29


Your Ad Here


Manipulating Bitmaps 31


Your Ad Here


Saving Image Files 33


Your Ad Here


Section 4 Wrap-up 35


Your Ad Here


Section 5: Using Transformations 35


Your Ad Here


Basic Transformations 35


Your Ad Here


World Coordinate Mapping 38


Your Ad Here


Section 5 Wrap-up 42


Your Ad Here


Section 6: Printing 42


Your Ad Here


Using PrintPage 43


Your Ad Here


Using Other Event Handlers 46


Your Ad Here


Printing Transformations 48


Your Ad Here


Section 6 Wrap-up 51


Your Ad Here


Section 7: Using WPF Graphics 51


Your Ad Here


Decorative Controls 51


Your Ad Here


Shape Controls 52


Your Ad Here


Brushes 56


Your Ad Here


Section 7 Wrap-up 60


Your Ad Here


Section 8: Building FlowDocuments 60


Your Ad Here


BlockUIContainer 61


Your Ad Here


List 61


Your Ad Here


Paragraph 61


Your Ad Here


Section 61


Your Ad Here


Table 61


Your Ad Here


Section 8 Wrap-up 63


Your Ad Here


Conclusion 64


Your Ad Here


About Rod Stephens 65 


Your Ad Here


Usage Rights for Wiley Wrox Blox 


Your Ad Here


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  


Your Ad Here


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).









List Price: $ 6.99



Price:









Find More Programming Products

Your Ad Here



Other posts like this, by keyword:

Programming:

Oracle PL/SQL Programming, Third Edition ...
Oracle Shell Scripting: Linux and UNIX Programming for Oracle (Oracle In-Focus series) ...
Palm Programming for the Absolute Beginner w/CD ...
What is something productive to do in programming? ...
Programming of Computer Numerically Controlled Machines ...
Drag `n’ Drop CGI: Enhance Your Web Site Without Programming ...
Programming Logic for Business ...
Principles of Object-Oriented Programming in Java 1.1 ...
Cocoa Programming for Mac OS X ...
Internet Programming With VB ...
GRAPHICS:

Non-Photorealistic Computer Graphics: Modeling, Rendering, and Animation (The Morgan Kaufmann Series in Computer Graphics) ...
Affordable Art Deco Graphics (Schiffer Book for Collectors) ...
Advances in Computer Graphics Hardware III (Eurographic Seminars) ...
Pictogram & Icon Graphics 2 (Bk. 2) ...
Introduction to Desktop Publishing with Digital Graphics, Student Edition ...

No comments:

Post a Comment