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

Unified Diff: src/pdf/SkPDFGraphicState.h

Issue 18585002: Implemented transparent gradients (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/pdf/SkPDFGraphicState.h
diff --git a/src/pdf/SkPDFGraphicState.h b/src/pdf/SkPDFGraphicState.h
index 64f34f8744ad65d3e8dd976ed13dc6745fc1785e..4f9b7a9867772e848d32fb1e6994bf348bb67ab2 100644
--- a/src/pdf/SkPDFGraphicState.h
+++ b/src/pdf/SkPDFGraphicState.h
@@ -53,9 +53,10 @@ public:
* responsibility to unreference it when done.
* @param sMask The form xobject to use as a soft mask.
* @param invert Indicates if the alpha of the sMask should be inverted.
+ * @param alpha True to use alpha for the sMask, otherwise luminosity.
vandebo (ex-Chrome) 2013/07/03 17:07:01 Contrary to what you might see here, we prefer enu
ducky 2013/07/03 23:32:09 Done. Does it make sense to turn the other bool p
*/
static SkPDFGraphicState* GetSMaskGraphicState(SkPDFFormXObject* sMask,
- bool invert);
+ bool invert, bool alpha);
/** Get a graphic state that only unsets the soft mask. The reference
* count of the object is incremented and it is the caller's responsibility

Powered by Google App Engine
This is Rietveld 408576698