globaltcad / swing-tree

A small DSL library for building Swing UIs
MIT License
6 stars 0 forks source link

Background Filter Support in Style Engine #50

Closed Gleethos closed 5 months ago

Gleethos commented 5 months ago

Allow a child component to access what was rendered by the parent and then apply a filter to it... A classic use case for this is a blur effect to give something a glass like look and feel.

We can achieve this by rendering into a buffer whenever a child component is styled to support filtering. When the child is then being painted it can access the buffer of the parent and then do its thing...