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

Issue 6351076: Added pdf implementation of conical gradient. (Closed)

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

Description

Added pdf implementation of conical gradient. Also fixed an erroneous comment in the gpu implementation. Committed: https://code.google.com/p/skia/source/detail?r=4520

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -5 lines) Patch
M gm/twopointradial.cpp View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M src/gpu/effects/GrGradientEffects.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFShader.cpp View 1 2 3 3 chunks +118 lines, -1 line 0 comments Download

Messages

Total messages: 3
rileya
Transparency is unsupported with the current way PDF shaders are handled, so it can't properly ...
11 years, 12 months ago (2012-07-10 16:01:12 UTC) #1
reed1
11 years, 12 months ago (2012-07-10 16:23:46 UTC) #2
Steve VanDeBogart
11 years, 12 months ago (2012-07-10 16:45:47 UTC) #3
LGTM

http://codereview.appspot.com/6351076/diff/3001/src/pdf/SkPDFShader.cpp
File src/pdf/SkPDFShader.cpp (right):

http://codereview.appspot.com/6351076/diff/3001/src/pdf/SkPDFShader.cpp#newco...
src/pdf/SkPDFShader.cpp:284: SkScalar a = SkScalarMul(dx, dx) + SkScalarMul(dy,
dy) - SkScalarMul(dr, dr);
This file is still an 80 column file.

http://codereview.appspot.com/6351076/diff/3001/src/pdf/SkPDFShader.cpp#newco...
src/pdf/SkPDFShader.cpp:582: transformPoints[1].fX += 1;
Sk_Scalar1
Sign in to reply to this message.

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