creativescala / doodle

Compositional vector graphics in Scala / Scala.JS
https://creativescala.org/doodle/
Apache License 2.0
327 stars 75 forks source link

Add consistent naming of writers #152

Closed jCabala closed 5 months ago

jCabala commented 5 months ago

I renamed all "writing" effects to have a suffix Writer, updated sytax and moved Java2dBuffereImageWriter to a separate file. Additionally, I moved the renderBufferedImage() method from Java2dWriter to a Java2d as it is now used by multiple files. I decided not to proceed with creating a separate file to store all of the actuall writer objects as with the renderBufferedImage() method moved it seems to make more sense to leave them as they are (otherwise this file would become very large very quickly).

Closes #146

noelwelsh commented 5 months ago

Great!