30 (void)
dst.intersect({ -limit, -limit, limit, limit});
36 const int s = 16 + shift;
64 const bool isInverse =
path.isInverseFillType();
100 static const int32_t kMaxClipCoord = 32767;
102 if (
bounds.fRight > kMaxClipCoord ||
bounds.fBottom > kMaxClipCoord) {
103 SkIRect limit = { 0, 0, kMaxClipCoord, kMaxClipCoord };
105 clipRgn = &tmpClipStorage;
112 if (clipper.getBlitter() ==
nullptr) {
119 SkASSERT(clipper.getClipRect() ==
nullptr ||
120 *clipper.getClipRect() == clipRgn->
getBounds());
123 blitter = clipper.getBlitter();
129 SkScan::AAAFillPath(
path, blitter, ir, clipRgn->
getBounds(), forceRLE);
150 aaBlitter.
init(blitter, &
clip.aaRgn());
167 aaBlitter.
init(blitter, &
clip.aaRgn());
static constexpr int32_t SkLeftShift(int32_t value, int32_t shift)
static constexpr int32_t SK_MaxS32
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
#define SK_SUPERSAMPLE_SHIFT
static int rect_overflows_short_shift(SkIRect rect, int shift)
static SkIRect safeRoundOut(const SkRect &src)
static int overflows_short_shift(int value, int shift)
void sk_blit_below(SkBlitter *blitter, const SkIRect &ir, const SkRegion &clip)
void sk_blit_above(SkBlitter *blitter, const SkIRect &ir, const SkRegion &clip)
void init(SkBlitter *blitter, const SkAAClip *aaclip)
void blitRegion(const SkRegion &clip)
const SkRect & getBounds() const
@ kIntersect_Op
target intersected with operand
const SkIRect & getBounds() const
bool op(const SkIRect &rect, Op op)
bool setRect(const SkIRect &rect)
static void AntiFillPath(const SkPath &, const SkRasterClip &, SkBlitter *)
static void FillPath(const SkPath &, const SkIRect &, SkBlitter *)
Optional< SkRect > bounds
sk_sp< SkBlender > blender SkRect rect
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
bool intersect(const SkIRect &r)