• caryclark's avatar
    fuzzer fixes · 63c684a8
    caryclark authored
    Fix path bugs exposed by the path fuzzer.
    
    Changes to existing gm and samplecode files defer their calls to construct
    SkPath objects until the first draw instead of at test initialization.
    
    Add an experimental call to SkPath to validate the internal SkPathRef.
    
    Fix SkPath::addPoly to set the last moveto after adding a close verb.
    
    Fix stroke to handle failures when computing the unit normal.
    
    Add a unit test for the unit normal failure.
    
    R=reed@google.com
    
    Review URL: https://codereview.chromium.org/953383002
    63c684a8
SkPath.h 39.8 KB