Changeset 65784 in webkit


Ignore:
Timestamp:
Aug 22, 2010 5:12:33 AM (14 years ago)
Author:
andreas.kling@nokia.com
Message:

2010-08-22 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] TransparencyLayer: Always use anti-aliasing and smooth pixmap transform
https://bugs.webkit.org/show_bug.cgi?id=44394

  • platform/graphics/qt/TransparencyLayer.h: (WebCore::TransparencyLayer::TransparencyLayer): Set the Antialiasing and SmoothPixmapTransforms render hints for all TransparencyLayers.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r65783 r65784  
     12010-08-22  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Ariya Hidayat.
     4
     5        [Qt] TransparencyLayer: Always use anti-aliasing and smooth pixmap transform
     6        https://bugs.webkit.org/show_bug.cgi?id=44394
     7
     8        * platform/graphics/qt/TransparencyLayer.h:
     9        (WebCore::TransparencyLayer::TransparencyLayer): Set the Antialiasing
     10        and SmoothPixmapTransforms render hints for all TransparencyLayers.
     11
    1122010-08-22  Andreas Kling  <andreas.kling@nokia.com>
    213
  • trunk/WebCore/platform/graphics/qt/TransparencyLayer.h

    r65276 r65784  
    5353        pixmap.fill(Qt::transparent);
    5454        painter.begin(&pixmap);
    55         painter.setRenderHint(QPainter::Antialiasing, p->testRenderHint(QPainter::Antialiasing));
     55        painter.setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
    5656        painter.translate(-offset);
    5757        painter.setPen(p->pen());
Note: See TracChangeset for help on using the changeset viewer.