8#ifndef CanvasStateHelpers_DEFINED
9#define CanvasStateHelpers_DEFINED
19#if !defined(SK_TEST_CANVAS_STATE_CROSS_LIBRARY)
25#if defined(SK_BUILD_FOR_WIN)
26#define EXPORT _declspec(dllexport)
36 float right,
float bottom, int32_t spacer);
45 float left,
float top,
float right,
float bottom, int32_t spacer);
52 int32_t
right, int32_t bottom, int32_t clipOp,
const SkRegion& localRegion);
61 int32_t
left, int32_t top, int32_t
right, int32_t bottom, int32_t clipOp,
62 int32_t regionRects, int32_t* rectCoords);
void complex_layers_draw(SkCanvas *canvas, float left, float top, float right, float bottom, int32_t spacer)
bool EXPORT complex_clips_draw_from_canvas_state(SkCanvasState *state, int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp, int32_t regionRects, int32_t *rectCoords)
bool EXPORT complex_layers_draw_from_canvas_state(SkCanvasState *state, float left, float top, float right, float bottom, int32_t spacer)
void complex_clips_draw(SkCanvas *canvas, int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp, const SkRegion &localRegion)
static bool left(const SkPoint &p0, const SkPoint &p1)
static bool right(const SkPoint &p0, const SkPoint &p1)