Results 1 to 1 of 1

Thread: paintEvent

  1. #1
    Join Date
    Nov 2015
    Posts
    67

    Default paintEvent

    Hello,

    when I scale a pixmap via scaled() I can set a Qt::Transformationmode.
    when I draw a picture via painter.drawPixmap, where can i set the TrandformationMode there? It looks not very well atm

    thanks

    edit: i already found:
    painter.setRenderHint(QPainter::SmoothPixmapTransf orm);
    Last edited by Ini; 5th January 2016 at 02:50.

Similar Threads

  1. Problem in paintEvent()
    By Niamita in forum Qt Programming
    Replies: 4
    Last Post: 10th May 2011, 10:46
  2. qt paintEvent
    By lzpmail in forum Qt Programming
    Replies: 2
    Last Post: 1st April 2011, 13:13
  3. paintEvent help
    By seltra in forum Newbie
    Replies: 11
    Last Post: 18th September 2010, 19:24
  4. PaintEvent warning
    By dreamer in forum Qt Programming
    Replies: 1
    Last Post: 29th April 2008, 15:37
  5. Replies: 12
    Last Post: 5th February 2006, 10: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.