Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphi

Learn How To Create A Delphi FireMonkey Blur Component

In this CodeRage session, you can learn how to create a blur behind the component. 

Overview

  • Create a small component that blurs whatever is behind it
  • It uses TControl.PaintTo to render the parent control to an off-screen bitmap
  • Followed by a GPU accelerated TGaussianBlurEffect to blur part of the bitmap
  • Finally draws the blurred bitmap to the canvas of the control

In the video tutorial, Erik van Bilsen talks about many factors of building this component. Like, issues of the approach and how you can solve them by just rendering everything at half the original resolution. Since the blur effect applies resolution can be hardly noticeable.

Watch the CodeRage session to learn more about how it works.

Here you can check the whole source code on over GitHub repository.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Software Developer | CS(CyberSec) Undergrad at APU Malaysia | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES