O'Reilly logo

Microsoft® Silverlight® Edition: Programming Windows® Phone 7 by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Bitmaps, Also Known as Textures

Aside from text, one of the most common objects to appear in both Silverlight and XNA applications is the bitmap, formally defined as a two-dimensional array of bits corresponding to the pixels of a graphics display device.

In Silverlight, a bitmap is sometimes referred to as an image, but that’s mostly a remnant of the Windows Presentation Foundation, where the word image refers to both bitmaps and vector-based drawings. In both WPF and Silverlight, the Image element displays bitmaps but the Image element is not the bitmap itself.

In XNA, a bitmap has a data type of Texture2D and hence is often referred to as a texture, but that term is mostly related to 3D programming where bitmaps are used to cover surfaces ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required