• jpetsovits@rim.com's avatar
    2010-01-29 Jakob Petsovits <jpetsovits@rim.com> · c79091e6
    jpetsovits@rim.com authored
            Reviewed by Nikolas Zimmermann.
    
            [OpenVG] Implement more graphics primitives
            https://bugs.webkit.org/show_bug.cgi?id=34339
    
            Adds lines, arcs, ellipses, polygons and rounded
            rectangles to PainterOpenVG and GraphicsContext.
    
            Rounded rects support by Eli Fidler <efidler@rim.com>.
    
            * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
            (WebCore::GraphicsContext::drawLine):
            (WebCore::GraphicsContext::drawEllipse):
            (WebCore::GraphicsContext::strokeArc):
            (WebCore::GraphicsContext::drawConvexPolygon):
            (WebCore::GraphicsContext::fillRect):
            (WebCore::GraphicsContext::fillRoundedRect):
            (WebCore::GraphicsContext::drawFocusRing):
            (WebCore::GraphicsContext::drawLineForText):
            (WebCore::GraphicsContext::clearRect):
            (WebCore::GraphicsContext::strokeRect):
            * platform/graphics/openvg/PainterOpenVG.cpp:
            (WebCore::PainterOpenVG::drawRect):
            (WebCore::PainterOpenVG::drawRoundedRect):
            (WebCore::PainterOpenVG::drawLine):
            (WebCore::PainterOpenVG::drawArc):
            (WebCore::PainterOpenVG::drawEllipse):
            (WebCore::PainterOpenVG::drawPolygon):
            * platform/graphics/openvg/PainterOpenVG.h:
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@54089 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    c79091e6
ChangeLog 3.94 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.