Difference between revisions of "Render Part C Assignment"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
===move=== | ===move=== | ||
===calculate_bounds=== | ===calculate_bounds=== | ||
+ | |||
+ | ==Rectangle== | ||
+ | ===calculate_local_bounds=== | ||
==BezierCurve, Chord, Ellipse, EquilateralTriangle, Image, Text== | ==BezierCurve, Chord, Ellipse, EquilateralTriangle, Image, Text== | ||
Imagine what it would be like to define calculate_local_bounds for all of these classes. | Imagine what it would be like to define calculate_local_bounds for all of these classes. | ||
− | |||
− | |||
==CompositeTransform== | ==CompositeTransform== | ||
===calculate_local_bounds=== | ===calculate_local_bounds=== | ||
+ | |||
==Scene== | ==Scene== | ||
===calculate_bounds=== | ===calculate_bounds=== |
Revision as of 04:43, 17 July 2019
In this studio we will evolve our code from Render_Part_B_Assignment to add new methods and a new class.
Continue editing files in the render/assignment directory.
Contents
Code to Implement
Transform
move
calculate_bounds
Rectangle
calculate_local_bounds
BezierCurve, Chord, Ellipse, EquilateralTriangle, Image, Text
Imagine what it would be like to define calculate_local_bounds for all of these classes.