Results 1 to 7 of 7

Thread: Filling area covers curve。

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 879 Times in 827 Posts

    Default Re: Filling area covers curve。

    As long as you don't set a valid curve brush nothing gets filled below a curve. Note, that Qt::NoBrush is the default and something in your code should be responsible for the filling area.

    Uwe

  2. #2
    Join Date
    Jul 2013
    Posts
    72
    Qt products
    Qt5
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Filling area covers curve。

    In fact ,I have to set brush to fill curves, any other suggestion?

  3. #3
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 879 Times in 827 Posts

    Default Re: Filling area covers curve。

    Wasn't your question about how to disable the curve filling in the first picture to have something like in the second one ?

    Uwe

  4. #4
    Join Date
    Jul 2013
    Posts
    72
    Qt products
    Qt5
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Filling area covers curve。

    No,my question is how to make the curve within the filling area to be clear as the second image。The curve in filling area is blurred due to the filling area。

  5. #5
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 879 Times in 827 Posts

    Default Re: Filling area covers curve。

    Plot items are painted in z order - see QwtPlotItem::setZ().

    Uwe

  6. #6
    Join Date
    Jul 2013
    Posts
    72
    Qt products
    Qt5
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Filling area covers curve。

    o,I see , thank you

Similar Threads

  1. Infinite filling area curve
    By SandyEmerald in forum Qwt
    Replies: 5
    Last Post: 24th March 2014, 13:06
  2. Replies: 0
    Last Post: 14th April 2010, 22:26
  3. Filling a QGraphicsItem
    By c_srikanth1984 in forum Qt Programming
    Replies: 15
    Last Post: 6th July 2009, 14:34
  4. Filling an image
    By Caius Aérobus in forum Qt Programming
    Replies: 6
    Last Post: 6th July 2008, 21:13
  5. Get covers from amazon.com like in Amarok
    By jiveaxe in forum Qt Programming
    Replies: 2
    Last Post: 18th April 2008, 08:29

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.