Skip to content

tmvorisek/ShapeBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


  ██████  ██░ ██  ▄▄▄       ██▓███  ▓█████     ▄▄▄▄    ▒█████  ▒██   ██▒
▒██    ▒ ▓██░ ██▒▒████▄    ▓██░  ██▒▓█   ▀    ▓█████▄ ▒██▒  ██▒▒▒ █ █ ▒░
░ ▓██▄   ▒██▀▀██░▒██  ▀█▄  ▓██░ ██▓▒▒███      ▒██▒ ▄██▒██░  ██▒░░  █   ░
  ▒   ██▒░▓█ ░██ ░██▄▄▄▄██ ▒██▄█▓▒ ▒▒▓█  ▄    ▒██░█▀  ▒██   ██░ ░ █ █ ▒ 
▒██████▒▒░▓█▒░██▓ ▓█   ▓██▒▒██▒ ░  ░░▒████▒   ░▓█  ▀█▓░ ████▓▒░▒██▒ ▒██▒
▒ ▒▓▒ ▒ ░ ▒ ░░▒░▒ ▒▒   ▓▒█░▒▓▒░ ░  ░░░ ▒░ ░   ░▒▓███▀▒░ ▒░▒░▒░ ▒▒ ░ ░▓ ░
░ ░▒  ░ ░ ▒ ░▒░ ░  ▒   ▒▒ ░░▒ ░      ░ ░  ░   ▒░▒   ░   ░ ▒ ▒░ ░░   ░▒ ░
░  ░  ░   ░  ░░ ░  ░   ▒   ░░          ░       ░    ░ ░ ░ ░ ▒   ░    ░  
      ░   ░  ░  ░      ░  ░            ░  ░    ░          ░ ░   ░    ░  
                                                    ░                   

Authors: Todd Vorisek, Cameron Titus, Aj Carvajal

This is the repo for a C++ library for creating PostScript files

The idea of the project is to learn/practice more design patterns such as the interpreter pattern as well as further test driven development experience.

Grammar :

Shape -> Circle | Polygon | Rectangle | Spacer | Square | Triangle | VerticalShape | HorizontalShape | OverlapShape |Custom Shape (TBD)

Circle -> "0 0" Number "0 360 arc"

Spacer -> Number Number "moveto"

Number -> 0|1|2|3|...

VerticalShape -> Shape Number "0" "moveto"

HorizontalShape -> Shape "0" Number "moveto"

About

HW5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published