Fork me on GitHub
#membrane
<
2022-03-22
>
Richie20:03:57

Why do we have translate and with-color to set context for all child drawables but we don’t have with-font?

phronmophobic21:03:57

It's partially an artifact of how every all the graphics libraries work. Font is always an explicit argument when drawing text while both color and transform(including translation) are often implicit arguments.

phronmophobic21:03:58

I'm not opposed to the idea of with-font . It might actually be better that way.

phronmophobic21:03:20

That's an interesting idea. I'm creating a discussion so that I can remember to think about it some more, https://github.com/phronmophobic/membrane/discussions/41