[内容简介]
《Windows 程序设计(第6版 英文版)》系经典图书《Windows程序设计》的第6版,全书为最新的Windows 8操作系统进行了改写。作者在《Windows 程序设计(第6版 英文版)》中细致地介绍了如何使用现有的C#技能和XAML以及Windows Runtime,创建全屏幕的Windows 8触摸应用程序,内容包括创建和初始化对象、管理和试验动态布局、创建Windows Runtime库、使用MVVM进行数据绑定和控制、使用及编写异步方法、动画过渡和创建2D和3D特效等,此外书中还介绍了操纵位图和富文本、使用GPS和方向传感器、调用Win32和DirectX函数、启用共享、搜索和打印等应用开发技能。 《Windows 程序设计(第6版 英文版)》适合各个层级的Windows开发爱好者阅读使用。
[目录]
PART II SPECIALTIES
Chapter 13 Touch, Etc. 615
A Pointer Roadmap 616
A First Dab at Finger Painting 619
Capturing the Pointer 622
Editing with a Popup Menu 630
Pressure Sensitivity 633
Smoothing the Tapers 637
How Do I Save My Drawings? 646
Real and Surreal Finger Painting 647
A Touch Piano 649
Manipulation, Fingers, and Elements 655
Working with Inertia 663
An XYSlider Control 667
Centered Scaling and Rotation 673
Single-Finger Rotation 676
Chapter 14 Bitmaps 683
Pixel Bits 684
Transparency and Premultiplied Alphas 691
A Radial Gradient Brush 696
Loading and Saving Image Files 703
Posterize and Monochromize 714
Saving Finger Paint Artwork 722
HSL Color Selection 747
Reverse Painting 758
Accessing the Pictures Library 763
Capturing Camera Photos 772
Chapter 15 Going Native 779
An Introduction to P/Invoke 780
Some Help 786
Time Zone Information 786
A Windows Runtime Component Wrapper for DirectX 808
DirectWrite and Fonts 809
Confi gurations and Platforms 821
Interpreting Font Metrics 824
Drawing on a SurfaceImageSource 831
Chapter 16 Rich Text 845
Private Fonts 847
A Taste of Glyphs 850
Font Files in Local Storage 852
Typographical Enhancements 856
RichTextBlock and Paragraphs 858
RichTextBlock Selection 862
RichTextBlock and Overfl ow 862
The Perils of Pagination 870
Rich Editing with RichEditBox 877
Your Own Text Input 886
Chapter 17 Share and Print 893
Settings and Popups 894
Sharing Through the Clipboard 898
The Share Charm 903
Basic Printing 904
Printable and Unprintable Margins 911
The Pagination Process 915
Custom Printing Properties 922
Printing a Monthly Planner 928
Printing a Range of Pages 937
Where To Do the Big Jobs? 948
Printing FingerPaint Art 948
Chapter 18 Sensors and GPS 953
Orientation and Orientation 953
Acceleration, Force, Gravity, and Vectors 958
Follow the Rolling Ball 969
The Two Norths 973
Inclinometer = Accelerometer + Compass 976
OrientationSensor = Accelerometer + Compass 980
Azimuth and Altitude 986
Bing Maps and Bing Map Tiles 999
Chapter 19 Pen (Also Known as Stylus) 1013
The InkManager Collections 1014
The Ink Drawing Attributes 1017
Erasing and Other Enhancements 1023
Selecting Strokes 1029
The Yellow Pad 1038
Index 1057