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 |