175 auto roundLow = [aa](
float v) {
180 auto roundHigh = [aa](
float v) {
#define SkScalarRoundToInt(x)
#define SkScalarCeilToInt(x)
#define SkScalarRoundToScalar(x)
#define SkScalarFloorToInt(x)
virtual Effect apply(GrRecordingContext *, skgpu::ganesh::SurfaceDrawContext *, GrDrawOp *, GrAAType, GrAppliedClip *, SkRect *bounds) const =0
static bool IsPixelAligned(const SkRect &rect)
static SkIRect GetPixelIBounds(const SkRect &bounds, GrAA aa, BoundsType mode=BoundsType::kExterior)
static bool IsOutsideClip(const SkIRect &outerClipBounds, const SkRect &drawBounds, GrAA aa)
static constexpr SkScalar kBoundsTolerance
virtual SkIRect getConservativeBounds() const =0
static bool IsInsideClip(const SkIRect &innerClipBounds, const SkRect &drawBounds, GrAA aa)
virtual PreClipResult preApply(const SkRect &drawBounds, GrAA aa) const
static constexpr SkScalar kHalfPixelRoundingTolerance
virtual Effect apply(GrAppliedHardClip *out, SkIRect *bounds) const =0
Optional< SkRect > bounds
sk_sp< SkBlender > blender SkRect rect
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
GrOp::Owner MakeRect(GrRecordingContext *context, GrPaint &&paint, const SkRect &drawRect, const SkRect &localRect, const SkMatrix &localM)
PreClipResult(Effect effect)
PreClipResult(SkRect rect, GrAA aa)
PreClipResult(SkRRect rrect, GrAA aa)
static bool Intersects(const SkIRect &a, const SkIRect &b)
static constexpr SkIRect MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b)
static constexpr SkIRect MakeEmpty()
bool contains(int32_t x, int32_t y) const
static SkRect Make(const SkISize &size)