#include "src/pdf/SkPDFGraphicStackState.h"
#include "include/core/SkClipOp.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPathTypes.h"
#include "include/core/SkRect.h"
#include "include/core/SkStream.h"
#include "include/pathops/SkPathOps.h"
#include "include/private/base/SkAssert.h"
#include "src/pdf/SkPDFUtils.h"
#include "src/utils/SkClipStackUtils.h"
static void emit_pdf_color(SkColor4f color, SkWStream* result) { … }
static SkRect rect_intersect(SkRect u, SkRect v) { … }
static bool is_rect(const SkClipStack& clipStack, const SkRect& bounds, SkRect* dst) { … }
static bool is_complex_clip(const SkClipStack& stack) { … }
template <typename F>
static void apply_clip(const SkClipStack& stack, const SkRect& outerBounds, F fn) { … }
static void append_clip_path(const SkPath& clipPath, SkWStream* wStream) { … }
static void append_clip(const SkClipStack& clipStack,
const SkIRect& bounds,
SkWStream* wStream) { … }
void SkPDFGraphicStackState::updateClip(const SkClipStack* clipStack, const SkIRect& bounds) { … }
void SkPDFGraphicStackState::updateMatrix(const SkMatrix& matrix) { … }
void SkPDFGraphicStackState::updateDrawingState(const SkPDFGraphicStackState::Entry& state) { … }
void SkPDFGraphicStackState::push() { … }
void SkPDFGraphicStackState::pop() { … }
void SkPDFGraphicStackState::drainStack() { … }