[webkit-changes] cvs commit: WebCore/kwq KWQPainter.mm

Darin darin at opensource.apple.com
Wed Aug 31 20:30:17 PDT 2005


darin       05/08/31 20:30:17

  Modified:    .        ChangeLog
               kwq      KWQPainter.mm
  Log:
          Reviewed and landed by Darin.
  
          - fixed http://bugzilla.opendarwin.org/attachment.cgi?id=3702
            Acid2 test has orange border around nose
  
          * kwq/KWQPainter.mm: (QPainter::drawConvexPolygon): Add back a call to
          CGContextSetShouldAntialias, accidentally rolled out.
  
  Revision  Changes    Path
  1.60      +11 -1     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- ChangeLog	31 Aug 2005 23:04:58 -0000	1.59
  +++ ChangeLog	1 Sep 2005 03:30:16 -0000	1.60
  @@ -1,3 +1,13 @@
  +2005-08-31  Mitz Pettel  <opendarwin.org at mitzpettel.com>
  +
  +        Reviewed and landed by Darin.
  +
  +        - fixed http://bugzilla.opendarwin.org/attachment.cgi?id=3702
  +          Acid2 test has orange border around nose
  +
  +        * kwq/KWQPainter.mm: (QPainter::drawConvexPolygon): Add back a call to
  +        CGContextSetShouldAntialias, accidentally rolled out.
  +
   2005-08-31  David Harrison  <harrison at apple.com>
   
           Reviewed by Dave Hyatt.
  @@ -27,7 +37,7 @@
           * khtml/xml/dom_nodeimpl.cpp:
           (DOM::ContainerNodeImpl::getUpperLeftCorner): skip text nodes that do not have associated text boxes
   
  -use 2005-08-31  Eric Seidel  <eseidel at apple.com>
  +2005-08-31  Eric Seidel  <eseidel at apple.com>
   
           Reviewed by vicki.
   
  
  
  
  1.135     +6 -0      WebCore/kwq/KWQPainter.mm
  
  Index: KWQPainter.mm
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/KWQPainter.mm,v
  retrieving revision 1.134
  retrieving revision 1.135
  diff -u -r1.134 -r1.135
  --- KWQPainter.mm	30 Aug 2005 09:30:24 -0000	1.134
  +++ KWQPainter.mm	1 Sep 2005 03:30:17 -0000	1.135
  @@ -402,6 +402,10 @@
   
       CGContextRef context = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
   
  +    CGContextSaveGState(context);
  +
  +    CGContextSetShouldAntialias(context, FALSE);
  +    
       CGContextBeginPath(context);
       CGContextMoveToPoint(context, points[0].x(), points[0].y());
       for (int i = 1; i < npoints; i++)
  @@ -418,6 +422,8 @@
           CGContextSetLineWidth(context, data->state.pen.width());
           CGContextStrokePath(context);
       }
  +
  +    CGContextRestoreGState(context);
   }
   
   void QPainter::drawPixmap(const QPoint &p, const QPixmap &pix)
  
  
  



More information about the webkit-changes mailing list