Chapter 17. Graphics and Multimedia


One picture is worth ten thousand words.

Chinese proverb

Treat nature in terms of the cylinder, the sphere, the cone, all in perspective.

Paul Cezanne

Nothing ever becomes real till it is experiencedeven a proverb is no proverb to you till your life has illustrated it.

John Keats

A picture shows me at a glance what it takes dozens of pages of a book to expound.

Ivan Sergeyevich Turgenev

Objectives

In this chapter you will learn:

  • To understand graphics contexts and graphics objects.

  • To manipulate colors and fonts.

  • To understand and use GDI+ Graphics methods to draw lines, rectangles, Strings and images.

  • To use class Image to manipulate and display images.

  • To draw complex shapes from simple shapes with class GraphicsPath.

  • To use Windows Media Player to play audio or video in a Visual Basic application.

  • To use Microsoft Agent to add interactive animated characters to a Visual Basic application.

Outline

17.1 Introduction

17.2 Drawing Classes and the Coordinate System

17.3 Graphics Contexts and Graphics Objects

17.4 Color Control

17.5 Font Control

17.6 Drawing Lines, Rectangles and Ovals

17.7 Drawing Arcs

17.8 Drawing Polygons and Polylines

17.9 Advanced Graphics Capabilities

17.10 Introduction to Multimedia

17.11 Loading, Displaying and Scaling Images

17.12 Animating a Series of Images

17.13 Windows Media Player

17.14 Microsoft Agent

17.15 Wrap-Up



Visual BasicR 2005 for Programmers. DeitelR Developer Series
Visual Basic 2005 for Programmers (2nd Edition)
ISBN: 013225140X
EAN: 2147483647
Year: 2004
Pages: 435

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net