Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 820 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 820 Bytes

This is a forked Repo

This repo is to complete the hw assingment on Template design patterns for CS372

CS372_Project_2

to build this on linux use g++ -o runtest main.cpp test.cpp shape.cpp

Current:

This is a CPS module for generating shapes and then post script using c++.

General useage:

Using macros to generate shapes, call makeCircle(radius); After shape is generated you can use helper function printPostScript to print the post script to a ostream of your choice.

Features:

Stacked Shapes Layered Shapes Horizonal Shapes One Custom Shape that is a face.

Notes

This module was created for a school project, There is a test suite to ensure the CPS is generating the right sized squares. There is not a way to ensure post script is legal. If you would like to add a new custom shape then open a PR.