1cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com/* 2cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * Copyright 2013 Google Inc. 3cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com 4cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * Use of this source code is governed by a BSD-style license that can be 5cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * found in the LICENSE file. 6cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com */ 7cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com 8cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#ifndef SkPdfSoftMaskImageDictionary_DEFINED 9cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#define SkPdfSoftMaskImageDictionary_DEFINED 108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com 118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com#include "SkPdfImageDictionary_autogen.h" 128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com 138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com// Additional entry in a soft-mask image dictionary 148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comclass SkPdfSoftMaskImageDictionary : public SkPdfImageDictionary { 158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic: 168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic: 178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return this;} 188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return this;} 198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com 208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comprivate: 218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic: 228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com bool valid() const {return true;} 238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com SkPdfArray* Matte(SkPdfNativeDoc* doc); 248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com bool has_Matte() const; 258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com SkString Subtype(SkPdfNativeDoc* doc); 268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com bool has_Subtype() const; 278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com SkString ColorSpace(SkPdfNativeDoc* doc); 288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com bool has_ColorSpace() const; 298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com}; 308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com 31cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#endif // SkPdfSoftMaskImageDictionary_DEFINED 32