RazrFalcon / tiny-skia

A tiny Skia subset ported to Rust
BSD 3-Clause "New" or "Revised" License
1.05k stars 67 forks source link

A detailed example #105

Closed rawhuul closed 9 months ago

rawhuul commented 9 months ago

Hey there, Please provide a detailed example of how to create a application using tiny-skia, I know that tiny-skia itself won’t be able to create windows and do stuff, but can you please elaborate more onto it

notgull commented 9 months ago

See the examples for softbuffer: https://github.com/rust-windowing/softbuffer/blob/master/examples/fruit.rs

RazrFalcon commented 9 months ago

tiny-skia cannot really be used to create GUI applications. It can't even draw text. The best you and do is to create a window, get its context and draw some stuff on it. But it's hardly "an application".

rawhuul commented 9 months ago

thanks for your prompt response