8#ifndef SkDrawBase_DEFINED
9#define SkDrawBase_DEFINED
44 const SkRect* postPaintRect)
const;
59 const SkMatrix* prePathMatrix =
nullptr,
bool pathIsMutable =
false)
const {
60 this->
drawPath(path,
paint, prePathMatrix, pathIsMutable,
false);
70 SkBlitter* customBlitter =
nullptr)
const {
72 paint.getStrokeWidth() == 0;
73 this->
drawPath(src,
paint,
nullptr,
false, !isHairline, customBlitter);
131 SkBlitter* customBlitter =
nullptr)
const;
135 void drawDevPath(
const SkPath& devPath,
148 [[nodiscard]]
bool computeConservativeLocalClipBounds(
SkRect* bounds)
const;
void drawRect(const SkRect &rect, const SkPaint &paint) const
void drawRRect(const SkRRect &, const SkPaint &) const
BlitterChooser * fBlitterChooser
void drawPath(const SkPath &path, const SkPaint &paint, const SkMatrix *prePathMatrix=nullptr, bool pathIsMutable=false) const
static bool DrawToMask(const SkPath &devPath, const SkIRect &clipBounds, const SkMaskFilter *, const SkMatrix *filterMatrix, SkMaskBuilder *dst, SkMaskBuilder::CreateMode mode, SkStrokeRec::InitStyle style)
static bool ComputeMaskBounds(const SkRect &devPathBounds, const SkIRect &clipBounds, const SkMaskFilter *filter, const SkMatrix *filterMatrix, SkIRect *bounds)
void drawPaint(const SkPaint &) const
const SkSurfaceProps * fProps
void drawPathCoverage(const SkPath &src, const SkPaint &paint, SkBlitter *customBlitter=nullptr) const
void drawRect(const SkRect &prePaintRect, const SkPaint &, const SkMatrix *paintMatrix, const SkRect *postPaintRect) const
void drawBitmap(const SkBitmap &, const SkMatrix &, const SkRect *dstOrNull, const SkSamplingOptions &, const SkPaint &) const override
static RectType ComputeRectType(const SkRect &, const SkPaint &, const SkMatrix &, SkPoint *strokeSize)
SkBlitter *(const SkPixmap &dst, const SkMatrix &ctm, const SkPaint &, SkArenaAlloc *, bool drawCoverage, sk_sp< SkShader > clipShader, const SkSurfaceProps &) BlitterChooser
void paintMasks(SkZip< const SkGlyph *, SkPoint > accepted, const SkPaint &paint) const override
void drawDevicePoints(SkCanvas::PointMode, size_t count, const SkPoint[], const SkPaint &, SkDevice *) const
@ kStroke_Style
set to stroke geometry