aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/encode
diff options
context:
space:
mode:
Diffstat (limited to 'include/encode')
-rw-r--r--include/encode/SkPngEncoder.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/encode/SkPngEncoder.h b/include/encode/SkPngEncoder.h
index 6de800f367..39e407e075 100644
--- a/include/encode/SkPngEncoder.h
+++ b/include/encode/SkPngEncoder.h
@@ -9,6 +9,7 @@
#define SkPngEncoder_DEFINED
#include "SkEncoder.h"
+#include "SkDataTable.h"
class SkPngEncoderMgr;
class SkWStream;
@@ -58,6 +59,13 @@ public:
* function and unpremultiply the input as is.
*/
SkTransferFunctionBehavior fUnpremulBehavior = SkTransferFunctionBehavior::kRespect;
+
+ /**
+ * Represents comments in the tEXt ancillary chunk of the png.
+ * The 2i-th entry is the keyword for the i-th comment,
+ * and the (2i + 1)-th entry is the text for the i-th comment.
+ */
+ sk_sp<SkDataTable> fComments;
};
/**