Skip to content
  • hyatt's avatar
    Fix SVG stroking. Make strokeThickness() get pushed into CG immediately · 75f6c797
    hyatt authored
            when set in the GraphicsContext.  Remove setLineWidth since it is
            redundant with setStrokeThickness now.
    
            Reviewed by mitz
    
            * html/CanvasRenderingContext2D.cpp:
            (WebCore::CanvasRenderingContext2D::setLineWidth):
            * platform/graphics/GraphicsContext.cpp:
            (WebCore::GraphicsContext::setPlatformStrokeThickness):
            (WebCore::GraphicsContext::setPlatformStrokeStyle):
            * platform/graphics/GraphicsContext.h:
            * platform/graphics/cg/GraphicsContextCG.cpp:
            (WebCore::GraphicsContext::drawLine):
            (WebCore::GraphicsContext::drawEllipse):
            (WebCore::GraphicsContext::strokeArc):
            (WebCore::GraphicsContext::drawConvexPolygon):
            (WebCore::GraphicsContext::setPlatformStrokeThickness):
            * platform/graphics/qt/GraphicsContextQt.cpp:
            * platform/mac/FontMac.mm:
            (WebCore::Font::drawComplexText):
            (WebCore::Font::drawGlyphs):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    75f6c797