Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
assets
screenshots
Lens.cpp
Lens.hpp
README.md

README.md

Purpose

example

The purpose of the Lens is to provide an effect on top of already existing graphics. The lens will distort the contents below it.

The lens has a radius of 100. This number can be adjusted.

The lens adds an image of a semi transparent glass on top of the distorted graphics. If the radius of the lens is adjusted, additional image data may be needed for the glass.

glass

Note that the lens is more dependent on the contents of the framebuffer and therefore the order of drawing than more regular widgets.

TouchGFX Version

This widget was created and tested using TouchGFX version 4.2.0

Functional description

Add the lens to a view.