Results 1 to 2 of 2

Thread: how to magnify a curve getting it thicker

  1. #1
    Join Date
    Jul 2010
    Posts
    37
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Windows

    Default how to magnify a curve getting it thicker

    I'm using QwtPlotMagnifier to be able to zoom in the curves, but I want also that the thick of the curves will magnify itself, changing the curve pen thick like under a glass.

    How should be possible?

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

    Default Re: how to magnify a curve getting it thicker

    You have to manipulate the curve pens in your code - f.e by deriving from QwtPlotCurve and reimplementing updateScaleDiv().

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    corrado1972 (17th May 2011)

Similar Threads

  1. Thicker polygon lines
    By Johncdy in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2011, 09:10
  2. draw curve
    By szisziszilvi in forum Qt Programming
    Replies: 6
    Last Post: 25th January 2011, 08:38
  3. Replies: 2
    Last Post: 5th September 2010, 23:24
  4. Replies: 4
    Last Post: 29th April 2010, 06:11
  5. Replies: 1
    Last Post: 22nd January 2010, 14:34

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.