Results 1 to 8 of 8

Thread: Fill mode using QPainter

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Fill mode using QPainter

    Hi,

    I am plotting a set of curves next to one another, amplitude vs. time (amplitudes are measured at different time), where time is in y axis and amplitude is in x axis.

    I need to fill all curves whose amplitudes are over a certain amplitude, or those whose amplitudes are less than a certain amplitude.

    In the attached example, I only fill positive amplitude, but eventually I need be able to fill negative amplitude too..

    How can I effectively do this with good performance? QPainter::setClipPath is extremely slow...

    Thanks
    Attached Images Attached Images

Similar Threads

  1. Not able to execute in Release Mode
    By sudheer168 in forum Qt Programming
    Replies: 4
    Last Post: 18th March 2009, 11:58
  2. [qt4,win,g++] QPainter on a QGLWidget
    By jh in forum Qt Programming
    Replies: 4
    Last Post: 28th July 2008, 06:29
  3. Replies: 2
    Last Post: 22nd July 2007, 19:21
  4. qodbc driver not loaded error in release mode
    By mandal in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2006, 09:42
  5. Replies: 7
    Last Post: 20th March 2006, 20:03

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.