sciter-sdk / pysciter

Python bindings for Sciter
https://sciter.com
MIT License
396 stars 40 forks source link

Question about graphics/canvas #42

Open martinlombana opened 3 years ago

martinlombana commented 3 years ago

Hi @pravic. I remembered we talked about this somewhere, but I can't find the issue or the post in the forum. I remember there was something that was not ported to pysciter, regarding the api for drawing into a canvas directly from python without using tisscript or js in the new sciter.js. Is that still the case or is there something still missing from the official API that has not been exposed in the python bindings?

Thanks!

pravic commented 3 years ago

Still the case: https://github.com/sciter-sdk/pysciter#what-is-supported-right-now

It's pretty easy to implement, though. Do you have in mind a minimum set of functions that need to be ready first? You can browse the documentation here: https://docs.rs/sciter-rs/0.5.55/sciter/graphics/struct.Graphics.html

martinlombana commented 3 years ago

I'll check it out and get back to you! Thanks!