Difference between revisions of "Home Is Where The Heart Is Assignment"
Jump to navigation
Jump to search
(→Flags) |
|||
Line 14: | Line 14: | ||
: [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._frame%29%29 frame] | : [https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._frame%29%29 frame] | ||
− | =Flags= | + | =Code To Implement= |
− | ==tri-bar-flag/left-to-right== | + | ==Flags== |
+ | ===tri-bar-flag/left-to-right=== | ||
Yes, the function name is literally <code>tri-bar-flag/left-to-right</code>. | Yes, the function name is literally <code>tri-bar-flag/left-to-right</code>. | ||
Line 24: | Line 25: | ||
[[File:Flag_of_France.svg|200px]] [[File:Flag_of_Ireland.svg|200px]] | [[File:Flag_of_France.svg|200px]] [[File:Flag_of_Ireland.svg|200px]] | ||
− | ==tri-bar-flag/top-to-bottom== | + | ===tri-bar-flag/top-to-bottom=== |
<nowiki>(define (tri-bar-flag/top-to-bottom width height top-color middle-color bottom-color) | <nowiki>(define (tri-bar-flag/top-to-bottom width height top-color middle-color bottom-color) | ||
(raise 'not-yet-implemented #t))</nowiki> | (raise 'not-yet-implemented #t))</nowiki> | ||
Line 30: | Line 31: | ||
[[File:Flag_of_Netherlands.svg|200px]] [[File:Flag_of_India.svg|200px]] | [[File:Flag_of_Netherlands.svg|200px]] [[File:Flag_of_India.svg|200px]] | ||
− | =Home= | + | ==Home== |
<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 36: | Line 37: | ||
[[File:Home.svg|200px]] | [[File:Home.svg|200px]] | ||
− | =Heart= | + | ==Heart== |
<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:06, 16 March 2020
Contents
Racket Image Library
Racket Image Library Documentation
placement
shapes
Code To Implement
Flags
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))
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))
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))
Heart
(define (heart side-length color) (raise 'not-yet-implemented #t))