Results 1 to 2 of 2

Thread: Thicker polygon lines

  1. #1
    Join Date
    Mar 2011
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Thicker polygon lines

    The program Ive been working on has to deal with making polygon lines, but I need to make the lines very thick, is there an easy way to do this?

  2. #2
    Join Date
    Nov 2010
    Posts
    315
    Thanked 53 Times in 51 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Thicker polygon lines

    Qt Code:
    1. painter->setPen(QPen(QBrush(Qt::black), 12.0));
    To copy to clipboard, switch view to plain text mode 

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

    Johncdy (15th March 2011)

Similar Threads

  1. Strange whiskers when drawing a polygon
    By feraudyh in forum Newbie
    Replies: 0
    Last Post: 22nd November 2009, 17:20
  2. pixmap to polygon
    By mhoover in forum Qt Programming
    Replies: 1
    Last Post: 14th October 2009, 10:02
  3. Draw polygon with holes
    By crocpulsar in forum Qt Programming
    Replies: 4
    Last Post: 14th March 2009, 07:31
  4. Rotating the polygon
    By navi1084 in forum Qt Programming
    Replies: 1
    Last Post: 4th September 2008, 01:41
  5. Creating clipped polygon
    By maverick_pol in forum Qt Programming
    Replies: 10
    Last Post: 28th August 2008, 00:15

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.