Results 1 to 2 of 2

Thread: how to erase the intersection part of the two rectangles?

  1. #1
    Join Date
    Jun 2014
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default how to erase the intersection part of the two rectangles?

    Hi all,

    I am actually developing a Speech Bubble for my project. I am using a frameless QDialog wherein I painted two eliptical rectangle in an intersecting way as shown in this image.speechbubble.jpg.

    How could I remove the intersecting part here? I have marked that part in the image.

    I am very new to Qt, waiting for a positive response.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to erase the intersection part of the two rectangles?

    Use clipping.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QGraphicsScene intersection problem
    By Alundra in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2013, 03:37
  2. diagram scene example - intersection test
    By sajis997 in forum Newbie
    Replies: 12
    Last Post: 14th September 2011, 17:48
  3. How to find the intersection point of polylines
    By arashadsaifi in forum Qt Programming
    Replies: 1
    Last Post: 3rd December 2009, 10:12
  4. Finding intersection point
    By zgulser in forum Qt Programming
    Replies: 2
    Last Post: 14th October 2009, 08:49
  5. finding the Intersection of two lines
    By babu198649 in forum Newbie
    Replies: 1
    Last Post: 8th June 2008, 13:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.