pharo-graphics / Alexandrie

FFI bindings and a 2D canvas for Pharo based on Cairo, Freetype and Harfbuzz
MIT License
5 stars 2 forks source link

AeCanvas misses API to directly use AeCairoSurface as background #80

Open tinchodias opened 7 hours ago

tinchodias commented 7 hours ago

The API has been driven so strongly from what Bloc requires, that I didn't add the most basic way to set a background without any conversion.

@ELePors I think we talked about this

tinchodias commented 7 hours ago

Moreover, this new API could replace the old one based on Forms. This way we remove the ugly caching that's done by the AeCanvas.