Results 1 to 4 of 4

Thread: Painter opacity problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Painter opacity problem

    I see. (Misslooked intersection in your first post). Qt's QPainter works correct. For your goal you need to apply opacity to whole scene. In this case you;d probably need to render scene into some buffer, QPixmap or QImage and then render it with needed opacity.
    You can also play with Composition modes...
    Last edited by spirit; 22nd August 2012 at 15:45.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

Similar Threads

  1. problem in painter fillRect
    By wagmare in forum Qt Programming
    Replies: 1
    Last Post: 27th May 2009, 13:43
  2. Problem with Painter in Qt4.4.1
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 1st September 2008, 13:47
  3. Some problem with painter's fillpath() method
    By salmanmanekia in forum Qt Programming
    Replies: 8
    Last Post: 30th June 2008, 13:31
  4. painter problem in new Qt-4.2.3 installation
    By impeteperry in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd May 2007, 05:34
  5. problem of opacity for textLabel
    By Stephano in forum Qt Programming
    Replies: 21
    Last Post: 19th May 2006, 10:52

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.