Results 1 to 3 of 3

Thread: Solid Color pen

  1. #1
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Solid Color pen

    Hi,
    I am drawing some shapes on some gray image. while drawing i am using pen with Qt::yellow color and solid style. Still the shapes found to be appear in little transparent (lighter).
    Can any one tell me how can i make these look very bright yellow.

  2. #2
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Solid Color pen

    Its Done. its because of setRenderHint(QPainter::Antialiasing);

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Solid Color pen

    Hi,

    - is your pen Qt::SolidLine?
    - Is your color really painted transparent or does it only look like?
    - And if it is not the color you like use your own color instead of Qt::yellow (e.g. QColor(200,200,10)...)
    - And a shadow under your stroke, then the colors look brighter


    Lykurg

Similar Threads

  1. Replies: 5
    Last Post: 21st July 2010, 22:51

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.