Skip to content

graphics: Initialize graphics primitives#51

Merged
juliaogris merged 3 commits intomasterfrom
canvas
Nov 10, 2022
Merged

graphics: Initialize graphics primitives#51
juliaogris merged 3 commits intomasterfrom
canvas

Conversation

@juliaogris
Copy link
Member

Initialize graphics primitives: move, line, rect, circle, color and
width (line width). Refactor DefaultBuiltins() function to take
a Runtime struct with graphics primitives provided.

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

firebase-deployment: https://evy-lang--51-zu59jejp.web.app (61311c4)

@juliaogris juliaogris force-pushed the canvas branch 6 times, most recently from c82fd3a to e12b308 Compare November 9, 2022 22:18
Rename source to code in div ID and JS. We already use the term code,
this is to keep things consistent.
Refactor CSS, removing the abstract class `pane` and replacing it by
direct references to `code` and `out`. This is a preparatory step for
adding a <canvas> element for which we will need a quite a few more
separate CSS rules for the `out` class, so unifying `out` and `code`
seems to make things more complicated.

At this stage this change has no functional or visual consequences.
Initialize graphics primitives: move, line, rect, circle, color and
width (line width). Refactor DefaultBuiltins() function to take
a Runtime struct with graphics primitives provided.
Copy link
Member

@camh- camh- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📗

@juliaogris juliaogris merged commit 9244292 into master Nov 10, 2022
@juliaogris juliaogris deleted the canvas branch November 10, 2022 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants