Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better drawing API #16

Closed
cwervo opened this issue Mar 3, 2023 · 1 comment
Closed

Better drawing API #16

cwervo opened this issue Mar 3, 2023 · 1 comment

Comments

@cwervo
Copy link
Collaborator

cwervo commented Mar 3, 2023

Native way to draw strokes, rectangles, lines.

Right now we use Display.tcl to draw to the Linux framebuffer & it doesn't have parity with the Tcl/TK environment on desktop.

Ideally (example syntax, I'm not married to it), something like:

Draw a small white circle on $this
Draw a small circle # assumed to be centered on $this, color is `white`
Draw a circle       # assumed to be centered on $this, color is `white`, defaults to `small`

Draw a circle at (100, 100)
Draw a circle 100 to the left of $this # take the top right corner $this as origin for drawing
@cwervo cwervo changed the title Better drawing support Better drawing API Mar 14, 2023
@osnr
Copy link
Collaborator

osnr commented Oct 25, 2023

Fixed in #103

@osnr osnr closed this as completed Oct 25, 2023
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

No branches or pull requests

2 participants