// CSCI 201 -- Lab 04 // Your name here // #include "rect.h" #include "ellipse.h" #include "triangle.h" SimpleWindow MyWin("Pretty face", 12.0, 16.0) ; // This routine is called when the program starts int ApiMain() { MyWin.Open() ; Position FacePos(6.0f, 8.0f) ; RectangleShape Face(MyWin, FacePos, Yellow, 10.0f, 14.0f) ; Face.Draw() ; Position NosePos(6.0f, 9.0f) ; RectangleShape Nose(MyWin, NosePos, Red, 2.0f, 3.0f) ; Nose.Draw() ; Position MouthPos(6.0f, 12.0f) ; RectangleShape Mouth(MyWin, MouthPos, Red, 6.0f, 1.0f) ; Mouth.Draw() ; return 0 ; } // Called when the program is terminated // Do not change this routine !! int ApiEnd() { MyWin.Close() ; return 0 ; }