CS170 Exercise: SVG - Scaleable Vector Graphics

Part I - SVG from C++.

Part II - Drawing your own picture.

Refer to the picture of the house and tree in Dr. Fong's SVG Tutorial. He provides both the picture and the code for it.

Use his notes and example along with the lab material to help you create your own SVG picture. Be sure to use all of the shapes: rectangle, circle, ellipse, line, polyline, and polygon. Also use stroke opacity and line opacity as part of your drawing.

NOTE: Start by sketching out a rough drawing of your picture, otherwise you'll get bogged down trying to figure out x-y coordinates.

CS Dept Home Page
CS Dept Class Files
CS170 Lab Files

Copyright: Department of Computer Science, University of Regina.