paxdotdev / pax

User interface engine with an integrated vector design tool, built in Rust
https://www.pax.dev/
Apache License 2.0
466 stars 23 forks source link

Images with in-memory backed data source, event local position #217

Closed samuelselleck closed 3 months ago

samuelselleck commented 3 months ago

Images now support in memory backed data sources:

<Image source={ImageSource::Data(2, 3, self.data)}/>

the way of specifying an URL is now:

<Image source=ImageSource::Url("....")/>