dll
saves you from thinking about invalidating and repainting a window. You simply create the objects with the
content you want to show, and milcore.dll paints the appropriate portions of the window as it is dragged
around, covered and uncovered, minimized and restored, and so on.
??? WindowsCodecs.dll is a low-level API that provides imaging support (for example,
processing, displaying, and scaling bitmaps and JPEGs).
??? Direct3D is the low-level API through which all the graphics in a WPF are rendered.
??? User32 is used to determine what program gets what real estate. As a result, it??™s still
involved in WPF, but it plays no part in rendering common controls.
The most important fact that you should realize is the Direct3D renders all the drawing in
WPF. It doesn??™t matter whether you have a modest video card or a much more powerful one,
whether you??™re using basic controls or drawing more complex content, or whether you??™re running
your application on Windows XP or Windows Vista. Even two-dimensional shapes and
ordinary text are transformed into triangles and passed through the 3-D pipeline. There is no
fallback to GDI+ or User32.
CHAPTER 1 n INTRODUCING WPF 17
The Class Hierarchy
Throughout this book, you??™ll spend most of your time exploring the WPF namespaces and
classes. But before you begin, it??™s helpful to take a first look at the hierarchy of classes that
leads to the basic set of WPF controls.
Pages:
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104