Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15)

Issue 7098054: dashing asPoints could draw excessively long first dash (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by robertphillips
Modified:
11 years, 8 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

The asPoints dashing code ignored the case where the dash length was greater then the dashed line. The prototypical case from Webkit is 255on/255off dashing on a 10 pixel long line. In this case the code would draw a very long initial dash. This CL fixes this oversight and adds a gm to catch regressions. The debugger change just makes it easier to see what is going on with drawPoints calls.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -16 lines) Patch
M debugger/SkDrawCommand.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M gm/dashing.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M src/effects/SkDashPathEffect.cpp View 4 chunks +17 lines, -16 lines 0 comments Download

Messages

Total messages: 4
robertphillips
11 years, 8 months ago (2013-01-14 20:25:21 UTC) #1
reed1
lgtm could use a functionally descriptive title
11 years, 8 months ago (2013-01-14 20:39:24 UTC) #2
robertphillips
11 years, 8 months ago (2013-01-14 20:50:12 UTC) #3
robertphillips
11 years, 8 months ago (2013-01-15 12:54:04 UTC) #4
Message was sent while issue was closed.
committed as r7177
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b