lab169 - svgout<<"line 250 280 350 280 15...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <iostream> using namespace std; #include "svg.h" # int main(){ i svgout << "circle 200 200 200 0 blue blue" ; svgout << "circle 200 250 150 0 white white" ; s svgout << "line 200 200 200 350 5 black" ; s svgout << "circle 250 150 50 2 black white" ; svgout << "circle 250 150 10 0 black black" ; svgout << "circle 150 150 50 2 black white" ; svgout << "circle 150 150 10 0 black black" ; s svgout << "line 250 250 350 230 15 black" ;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: svgout << "line 250 280 350 280 15 black" ; svgout << "line 250 310 350 330 15 black" ; svgout << "line 150 250 50 230 15 black" ; svgout << "line 150 280 50 280 15 black" ; svgout << "line 150 310 50 330 15 black" ; s svgout << "circle 200 200 25 15 red red" ; s //svgout << "sector 170 300 120 300 50 50 1 1 black red" ; svgout << "sector 170 300 120 300 270 300 1 1 blue red" ; return 0; }...
View Full Document

This note was uploaded on 10/03/2011 for the course CPEG 1004 taught by Professor Brianmak during the Spring '11 term at HKUST.

Ask a homework question - tutors are online