CHAPTER 9

image

Scalable Vector Graphics

In this chapter I’ll show you how to use scalable vector graphics (SVG) in an HTML5 web application using Visual Studio, ASP.NET MVC, and SQL Server. There are a lot of really cool things that you can do with SVG. I’ve picked out a fun demonstration that can be easily applied to many business applications. But first, let me give you an introduction to what SVG is.

Most people think of a graphic element as some form of bitmap; an array of rows and columns of pixels, and each pixel is assigned a specific color. In contrast, however, vector graphics express an image as a collection of formulas. For example, draw ...

Get Pro HTML5 with Visual Studio 2012 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.