Difference between revisions of "Home Is Where The Heart Is Assignment"

From CSE425S Wiki
Jump to navigation Jump to search
Line 34: Line 34:
  
 
==Home==
 
==Home==
 +
{{RacketToImplement|home|home|home_is_where_the_heart_is}}
 +
 
  <nowiki>(define (home roof-side-length roof-color base-width base-height base-color door-width door-height door-color)
 
  <nowiki>(define (home roof-side-length roof-color base-width base-height base-color door-width door-height door-color)
 
   (raise 'not-yet-implemented #t))</nowiki>
 
   (raise 'not-yet-implemented #t))</nowiki>
Line 40: Line 42:
  
 
==Heart==
 
==Heart==
 +
{{RacketToImplement|heart|heart|home_is_where_the_heart_is}}
 +
 
  <nowiki>(define (heart side-length color)
 
  <nowiki>(define (heart side-length color)
 
   (raise 'not-yet-implemented #t))</nowiki>
 
   (raise 'not-yet-implemented #t))</nowiki>
  
 
[[File:Heart.svg|200px]]
 
[[File:Heart.svg|200px]]

Revision as of 01:16, 16 March 2020

Racket Image Library

Racket Image Library Documentation

placement

beside
above
overlay overlay/align overlay/xy
rotate

shapes

triangle
circle
square
rectangle
frame

Code To Implement

Flags

file: src/main/racket/home_is_where_the_heart_is/flags.rkt Racket-logo.svg
functions: tri-bar-flag/left-to-right
tri-bar-flag/top-to-bottom

tri-bar-flag/left-to-right

Yes, the function name is literally tri-bar-flag/left-to-right.

(define (tri-bar-flag/left-to-right width height left-color middle-color right-color)
  (raise 'not-yet-implemented #t))

Flag of France.svg Flag of Ireland.svg

tri-bar-flag/top-to-bottom

(define (tri-bar-flag/top-to-bottom width height top-color middle-color bottom-color)
  (raise 'not-yet-implemented #t))

Flag of the Netherlands.svg Flag of India.svg

Home

file: src/main/racket/home_is_where_the_heart_is/home.rkt Racket-logo.svg
functions: home
(define (home roof-side-length roof-color base-width base-height base-color door-width door-height door-color)
  (raise 'not-yet-implemented #t))

Home.svg

Heart

file: src/main/racket/home_is_where_the_heart_is/heart.rkt Racket-logo.svg
functions: heart
(define (heart side-length color)
  (raise 'not-yet-implemented #t))

Heart.svg