#include "src/pdf/SkPDFGraphicState.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkColor.h"
#include "include/core/SkData.h"
#include "include/core/SkPaint.h"
#include "include/core/SkStream.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkTHash.h"
#include "src/pdf/SkPDFDocumentPriv.h"
#include "src/pdf/SkPDFUtils.h"
#include <memory>
#include <utility>
static const char* as_pdf_blend_mode_name(SkBlendMode mode) { … }
static int to_stroke_cap(uint8_t cap) { … }
static int to_stroke_join(uint8_t join) { … }
static uint8_t pdf_blend_mode(SkBlendMode mode) { … }
SkPDFIndirectReference SkPDFGraphicState::GetGraphicStateForPaint(SkPDFDocument* doc,
const SkPaint& p) { … }
static SkPDFIndirectReference make_invert_function(SkPDFDocument* doc) { … }
SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState(SkPDFIndirectReference sMask,
bool invert,
SkPDFSMaskMode sMaskMode,
SkPDFDocument* doc) { … }