<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Is it possible to replicate&#x2F;mirror the inside content of a transparent rectangle]]></title><description><![CDATA[<p dir="auto">Hi all.<br />
i am making a zoom button program in qml.<br />
On how i have designed it is that I have divided my application window into 2, on the left hand side I have a image, and on top of it is a zoom button. Now, on pressing the zoom button, a transparent rectangle is generated on top of this image that gives the user the ability to drag it all over the image.<br />
What i am not able to achieve is to mirror the same on the right side. What i am looking forward is to crop/mirror the inside of the transparent rectangle, wheresoever i drag the rectangle on the left image, on the right i should see the content that the transparent rectangle covers, but i am not able to do it.</p>
<p dir="auto">Currently, I am using 5.12 version of qt.<br />
if anyone has a solution/alternative for the same, please do let me know.</p>
]]></description><link>https://forum.qt.io/topic/153648/is-it-possible-to-replicate-mirror-the-inside-content-of-a-transparent-rectangle</link><generator>RSS for Node</generator><lastBuildDate>Sun, 25 Oct 2026 07:13:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/153648.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Jan 2024 07:43:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is it possible to replicate&#x2F;mirror the inside content of a transparent rectangle on Thu, 18 Jan 2024 06:33:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello all,<br />
I was able to complete the project. For this project as i required the need to replicate/mirror the area enclosed under the transparent rectangle, I made the use of ShaderEffectSource along with grabToImage which helped me to get what I was trying to achieve out of this project.</p>
<p dir="auto">Let me know if someone requires the code to checkout.<br />
Thank you!</p>
]]></description><link>https://forum.qt.io/post/786850</link><guid isPermaLink="true">https://forum.qt.io/post/786850</guid><dc:creator><![CDATA[Ashish_Pathak]]></dc:creator><pubDate>Thu, 18 Jan 2024 06:33:15 GMT</pubDate></item></channel></rss>