Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Issue 19519017: Inverse fill support in PDF (Closed)

Created:
7 years, 5 months ago by ducky
Modified:
7 years, 4 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Inverse stroke support #

Patch Set 3 : Add define guards since Path Ops not release ready #

Patch Set 4 : Add inverse stroke fill GM #

Patch Set 5 : Simplify bounds code, update comments #

Patch Set 6 : More style fixes #

Total comments: 25

Patch Set 7 : Stylistic improvements #

Patch Set 8 : Add comprehensive inverse paths GM #

Total comments: 12

Patch Set 9 : More stylistic improvements #

Total comments: 4

Patch Set 10 : Style improvements for pathPtr, modifiedPath #

Patch Set 11 : Make handleInversePath(...) static #

Total comments: 1

Patch Set 12 : Fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -0 lines) Patch
A gm/inversepaths.cpp View 1 2 3 4 5 6 7 8 1 chunk +146 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M include/config/SkUserConfig.h View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M include/pdf/SkPDFDevice.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +81 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
ducky
This CL emulates inverse fill output in PDF by using Path Ops. It's currently disabled ...
7 years, 5 months ago (2013-07-25 03:32:20 UTC) #1
vandebo (ex-Chrome)
https://codereview.chromium.org/19519017/diff/20001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (left): https://codereview.chromium.org/19519017/diff/20001/src/pdf/SkPDFDevice.cpp#oldcode829 src/pdf/SkPDFDevice.cpp:829: pathIsMutable = true; Even though this isn't (currently) used ...
7 years, 5 months ago (2013-07-26 17:48:44 UTC) #2
edisonn
run it please on all gms and on all pdfs we generate with render_pdf https://codereview.chromium.org/19519017/diff/20001/gm/inversestrokefill.cpp ...
7 years, 5 months ago (2013-07-26 20:23:52 UTC) #3
reed1
https://codereview.chromium.org/19519017/diff/20001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/19519017/diff/20001/src/pdf/SkPDFDevice.cpp#newcode775 src/pdf/SkPDFDevice.cpp:775: void SkPDFDevice::drawRect(const SkDraw& d, const SkRect& rect, On 2013/07/26 ...
7 years, 4 months ago (2013-07-29 13:09:09 UTC) #4
ducky
Fixed stylistic issues and replaced the inverse stroke fill GM with a more comprehensive inverse ...
7 years, 4 months ago (2013-07-29 19:07:51 UTC) #5
vandebo (ex-Chrome)
https://codereview.chromium.org/19519017/diff/20001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/19519017/diff/20001/src/pdf/SkPDFDevice.cpp#newcode850 src/pdf/SkPDFDevice.cpp:850: if (!pathIsMutable) { On 2013/07/29 19:07:51, ducky wrote: > ...
7 years, 4 months ago (2013-07-30 16:50:42 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/19519017/diff/69001/gm/inversepaths.cpp File gm/inversepaths.cpp (right): https://codereview.chromium.org/19519017/diff/69001/gm/inversepaths.cpp#newcode95 gm/inversepaths.cpp:95: outlinePaint.setColor(0x20000000); contant? https://codereview.chromium.org/19519017/diff/69001/gm/inversepaths.cpp#newcode111 gm/inversepaths.cpp:111: paint.setColor(0xff007000); constant?
7 years, 4 months ago (2013-07-30 17:34:34 UTC) #7
ducky
https://codereview.chromium.org/19519017/diff/69001/gm/inversepaths.cpp File gm/inversepaths.cpp (right): https://codereview.chromium.org/19519017/diff/69001/gm/inversepaths.cpp#newcode95 gm/inversepaths.cpp:95: outlinePaint.setColor(0x20000000); On 2013/07/30 17:34:35, vandebo wrote: > contant? Doesn't ...
7 years, 4 months ago (2013-07-30 22:01:55 UTC) #8
vandebo (ex-Chrome)
LGTM https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp#newcode1288 src/pdf/SkPDFDevice.cpp:1288: drawPath(d, *pathPtr, paint, NULL, true); nit: *pathPtr -> ...
7 years, 4 months ago (2013-07-30 22:27:14 UTC) #9
ducky
https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp#newcode1288 src/pdf/SkPDFDevice.cpp:1288: drawPath(d, *pathPtr, paint, NULL, true); On 2013/07/30 22:27:15, vandebo ...
7 years, 4 months ago (2013-07-30 22:45:44 UTC) #10
vandebo (ex-Chrome)
https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp#newcode1288 src/pdf/SkPDFDevice.cpp:1288: drawPath(d, *pathPtr, paint, NULL, true); On 2013/07/30 22:45:44, ducky ...
7 years, 4 months ago (2013-07-30 22:52:02 UTC) #11
ducky
Code should be a bit cleaner now. https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/19519017/diff/87001/src/pdf/SkPDFDevice.cpp#newcode1288 src/pdf/SkPDFDevice.cpp:1288: drawPath(d, *pathPtr, ...
7 years, 4 months ago (2013-07-30 23:18:26 UTC) #12
vandebo (ex-Chrome)
LGTM with nit. https://codereview.chromium.org/19519017/diff/101001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/19519017/diff/101001/src/pdf/SkPDFDevice.cpp#newcode1246 src/pdf/SkPDFDevice.cpp:1246: SkPath* outPath) { nit: indent.
7 years, 4 months ago (2013-07-31 18:47:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/19519017/106001
7 years, 4 months ago (2013-07-31 22:47:50 UTC) #14
commit-bot: I haz the power
7 years, 4 months ago (2013-07-31 22:54:43 UTC) #15
Message was sent while issue was closed.
Change committed as 10476

Powered by Google App Engine
This is Rietveld 408576698