https://github.com/jimmckeeth/fmxglass
Glass overlays to apply effects to portions of the underlying form.
https://github.com/jimmckeeth/fmxglass
Last synced: 4 months ago
JSON representation
Glass overlays to apply effects to portions of the underlying form.
- Host: GitHub
- URL: https://github.com/jimmckeeth/fmxglass
- Owner: jimmckeeth
- Created: 2014-05-28T20:20:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-28T20:41:07.000Z (about 11 years ago)
- Last Synced: 2024-12-30T06:11:51.309Z (6 months ago)
- Language: Pascal
- Size: 141 KB
- Stars: 15
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FMXGlass
========Glass overlays to apply effects to portions of the underlying form.
Inspired by & based on the the [answer on StackOverflow](http://stackoverflow.com/a/23900954/255) by Eric.
TGlass paints itself with what it covers on its parents (like it is transparent, but it actually contains what it covers).
The TGlass desendents then apply an effect.
This allows applying an effect to a portion of a form, including multiple controls.
Currently Blur and Pixelate are implemented, more will follow.
Has a crude caching mechanism to only apply the effect if the parent image changes.
Ignores other instances of TGlass if they are stacked.