Microsoft Silverlight Graphics
Silverlight represents an entirely new level of rich Web interface technology for Microsoft developers. With the new power of this development environment comes new challenges for graphic artists and programmers to use this technology to its fullest. "Microsoft Silverlight Graphics" will help you quickly become productive in Silverlight, teaching you how to use the program to create stunning graphics and animations. You'll learn how to create Silverlight applications; using graphics, animation, audio, and video.
1101709157
Microsoft Silverlight Graphics
Silverlight represents an entirely new level of rich Web interface technology for Microsoft developers. With the new power of this development environment comes new challenges for graphic artists and programmers to use this technology to its fullest. "Microsoft Silverlight Graphics" will help you quickly become productive in Silverlight, teaching you how to use the program to create stunning graphics and animations. You'll learn how to create Silverlight applications; using graphics, animation, audio, and video.
27.99 In Stock
Microsoft Silverlight Graphics

Microsoft Silverlight Graphics

by Oswald Campesato
Microsoft Silverlight Graphics

Microsoft Silverlight Graphics

by Oswald Campesato

eBook

$27.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers

LEND ME® See Details

Overview

Silverlight represents an entirely new level of rich Web interface technology for Microsoft developers. With the new power of this development environment comes new challenges for graphic artists and programmers to use this technology to its fullest. "Microsoft Silverlight Graphics" will help you quickly become productive in Silverlight, teaching you how to use the program to create stunning graphics and animations. You'll learn how to create Silverlight applications; using graphics, animation, audio, and video.

Product Details

ISBN-13: 9781598636987
Publisher: Course Technology PTR
Publication date: 01/06/2008
Sold by: CENGAGE LEARNING
Format: eBook
Pages: 464
File size: 1 MB

About the Author

Oswald Campesato, Palo Alto, CA, is a Senior Development Manager for JustSystems, Inc. He works on various projects that involve Java, XML, and XSLT, and is studying Japanese so that he can communicate with his counterparts in Japan in their native language. He has worked in the computer field for 15 years, and has previously worked for various companies, including Oracle and IONA. His diverse background includes work experience includes Unix, shell programming, Perl, and JSP-based web application development with MVC frameworks. He has BSc/MS degrees in Mathematics, an MBA, an MS in Information Systems, a BS in Computer Science, and is working toward an MS in Computer Science.

Table of Contents


Introduction     xiii
Introduction to Silverlight     1
What Is Silverlight?     2
Silverlight/XAML Naming Convention     3
Silverlight versus SVG     3
Downloading and Installing Silverlight     4
Structure of a Silverlight Application     5
A Minimal XAML Document     6
A Silverlight/XAML Rectangle     7
The Silverlight/XAML Coordinate System     11
Rendering Polygons with Polygon Objects     12
Rendering Rectangles with Path Objects     13
Rendering Rectangles with Line Objects     14
Rendering Rectangles with a Shadow Effect     16
Rendering Rectangles with RectangleGeometry     18
Rendering Triangular Wedges with Shading     19
Nested Canvas Objects     20
Key Constructs     22
Summary     23
Colors, Linear Gradients, and Radial Gradients     25
Colors and Their Components     26
Standard Color Names     27
Rendering a Checkerboard Grid     28
Rendering Rectangles with Opacity     30
Rendering a Cube in Silverlight/XAML     33
Silverlight/XAML Color Gradients     35
Silverlight/XAML Linear Gradients     35
Rendering Rectangles with Linear Gradients     35
Radial Color Gradients     38
Rendering Parallelograms with Linear Gradients     39
SpreadMethod, RadiusX, and RadiusY     41
Key Constructs     44
Summary     44
Ellipses, Arcs, and Simple 3D Effects     45
The Silverlight/XAML Ellipse Object     46
Rendering Ellipses with Linear Gradients     48
Rendering Ellipses with Radial Gradients     50
Creating Elliptic Arcs with Path     52
Elliptic Arcs with ArcSegment Objects     54
Arc-Based Petal Patterns     57
Arc-Based Diamond Patterns     59
Creating 3D Effects with Circles     61
Rendering Cones with Gradient Shading     63
Rendering Cylinders with Gradient Shading     65
Key Constructs     68
Summary     68
Bezier Curves and Color Gradients     69
What Are Bezier Curves?     70
Rendering a Quadratic Bezier Curve     70
Rendering Cubic Bezier Curves     72
Cubic Bezier Curves and Linear Gradients     73
Double Cubic Bezier Curves      76
Double Reflected Cubic Bezier Curves     79
Cubic Quadratic Bezier Curves     81
Bezier Curves: SpreadMethod, RadiusX, RadiusY     84
Rendering Bezier Curves with Clip Objects     85
Bezier Curves and BezierSegment Objects     87
Using the GeometryGroup Object     90
Key Constructs     93
Summary     94
Silverlight/XAML Transformations     95
TranslateTransform Transformation     96
RotateTransform Transformation     98
ScaleTransform Transformation     101
Multiscaled Cubic Bezier Curves     103
SkewTransform Transformation     107
MatrixTransform Transformation     109
Cylinders and ScaleTransform Transformation     112
Hourglass: ScaleTransform and SkewTransform     117
Transformations of Text Strings     123
Key Constructs     126
Summary     127
Silverlight and the DOM     129
XAML FindName in JavaScript     129
Defining In-Line XAML via JavaScript     132
Dynamic Creation of XAML Objects     135
JavaScript and Checkerboard Patterns     138
Checkerboard Patterns and Color Gradients      141
Updating Objects via HTML BUTTON Events     145
Generating Random Rectangles     148
Key Constructs     151
Summary     152
Mouse Events and Keystroke Events     153
Detecting Mouse Events     153
Detecting Mouse Click Events     155
Generating Rectangles via Mouse Click Events     159
Freestyle Sketching and Mouse Move Events     163
Dynamically Adding and Removing Objects     165
Mouse Events and Multiple Dynamic Objects     167
A Basic Board Game     171
Detecting Keystroke Events     177
Processing Keystrokes     178
Key Constructs     180
Summary     181
Silverlight and Complex Graphics     183
Mathematical Terminology     183
Generating Sine-Based Petals     184
Generating a Sine-Based Wireframe Effect     188
Multi-Fixed Point Mesh and Archimedean Spirals     196
Simulating 3D Effects with a Steiner Equation     202
Key Constructs     208
Summary     208
Bar Charts, Line Graphs, and Pie Charts     209
Rendering Homogeneous Bar Sets     209
Rendering Simple Bar Charts     211
Rendering Mouse-Enabled 3D Bar Charts     218
Rendering Gradient Bar Charts     229
Rendering a Line Graph     234
Rendering Elliptic Pie Charts     240
Key Constructs     244
Summary     245
Silverlight Animation Effects     247
Animation Effects via Storyboard Objects     248
Rectangles and Animation     248
Bezier Curves and Animation     251
Rotating a Rectangle Animation     252
Rectangles and Multiple Animation Effects     255
Chained Animation Effects     257
Color Animation Effects     259
Point Animation Effects     261
Animating Opacity in JPEG Images     263
Silverlight/XAML Keyframes     265
Silverlight/XAML Linear Keyframe     265
Silverlight/XAML Discrete Keyframe     268
Silverlight/XAML Spline Keyframe     270
Key Constructs     273
Summary     275
Images, Audio Files, and Video Files     277
Rendering JPEG Images     277
Rendering Clipped JPEG Images     279
Applying Transforms to JPEG Images     281
Reflected JPEG Images     282
Image Brushes and JPEG Images     284
Mouse-Enabled JPEG Images     285
Simple Mouse-Over Effects with JPEG Images     289
Mouse-Over Effects with Multiple JPEG Images     294
Animation with JPEG Images     299
Playing MP3 Audio Files     301
Playing WMV Video Files     302
Key Constructs     306
Summary     308
Silverlight/JavaScript Animation     309
Simple Animation Effects     309
Checkerboard Animation     313
Bouncing Rectangle Animation     318
Multiple Bouncing Balls Animation     324
Key Constructs     330
Summary     331
Introduction to Scripting Languages     333
Setting Up Python on Your Machine     334
Interactive Python     335
Scalar Variables in Python     336
Python Lists     337
Python Dictionaries     338
Sorting Elements in a Python Dictionary     339
String Manipulation in Python     339
Concatenating Strings and Numbers in Python     341
The list and join Commands in Python     341
Loops and Conditional Statements in Python     342
Comparing pass, break, and continue in Python     343
Packages and import Statements     344
Setting Up Ruby on Your Machine     345
Interactive Ruby     346
String Variables in Ruby     346
Converting between Classes     347
Using for and while Loops in Ruby     348
Conditional Logic in Ruby     349
Arrays and Iterators in Ruby     350
Hashes in Ruby     351
Defining Functions in Ruby     352
Defining Classes in Ruby     353
Key Constructs     354
Summary     356
Silverlight and Scripting Languages     359
Generating XML from Text Files     360
Generating a Silverlight Document with Python     360
Generating Bar Sets with Python     362
Generating a Silverlight Document with Ruby     364
Generating Bar Sets with Ruby     365
Generating a Silverlight Document with Perl     367
Generating Bar Sets with Perl     368
Silverlight and IronPython     370
Updating a Rectangle in IronPython     372
IronPython and Mouse Events     373
IronPython and Dynamic Object Creation      377
IronPython and Dynamic Checkerboards     379
IronPython and Dynamic Graphics     381
Key Constructs     384
Summary     384
Silverlight and Java     387
Installing a Java SDK     387
Installing the Tomcat Servlet Container     388
Creating Java Web Applications     389
Deploying Java Web Applications     391
Details of Step 1     391
Details of Step 2     392
Details of Step 3     392
Details of Step 4     392
The web.xml Configuration File     392
DisplayXamlServlet.java     394
Invoking the Java Servlet DisplayXamlServlet     397
Generate Silverlight Documents in Java Servlets     398
Silverlight and JSP Files     407
Key Constructs     409
Summary     409
Supplemental Silverlight/JavaScript Samples     411
Archimedean Cubic Bezier Curves     413
Ellipses and Ribbed Effects     417
Creating Pin-Cushion Effects     422
Ellipses with Multiple Color Gradients     426
Key Constructs     434
Summary     434
Index      435
From the B&N Reads Blog

Customer Reviews