Julian Winkler
87b254156d
Drawable: queue up invalidate() calls, because GTK can't invalidate from inside draw()
...
This is analogous to wrapper_widget_queue_draw().
2025-02-10 21:55:14 +01:00
Julian Winkler
9023e2963b
ImageView: implement tint attribute
2024-12-15 07:39:25 +01:00
Julian Winkler
d79df985c7
Drawable: don't force aspect ratio
2024-10-23 16:38:01 +02:00
Julian Winkler
e3c0931714
prevent reference cycles between Java and native objects
2024-08-02 17:02:53 +02:00
Julian Winkler
e8eabb2027
GskCanvas.drawBitmap(): reuse GdkTexture objects
2024-05-27 16:37:49 +00:00
Julian Winkler
6f02565920
GskCanavas: draw default content when custom View calls super.onDraw()
2024-05-27 16:37:49 +00:00
Julian Winkler
74bedcc93c
implement Drawable.invalidateSelf()
2024-04-09 18:19:18 +02:00
Julian Winkler
849701c5c4
Drawable: call getIntrinsic{Width/Height}
2024-04-09 18:19:18 +02:00
Julian Winkler
ad266c7821
add support for custom Java Drawables
...
This is made possible, by adding a second Canvas implementation which
can be used to render directly to GdkSnapshot objects
For now the only implemented method is drawBitmap(), this is already
enough to make VectorDrawableCompat functional
2024-03-24 22:13:28 +01:00
Julian Winkler
176405ed45
NinePatchPaintable: new GdkPaintable class to render .9.png files
2023-12-30 23:38:56 +01:00
Julian Winkler
8c7dbf6ceb
start implementing Drawable using underlying GdkPaintable
2023-12-30 23:38:48 +01:00