24void PathRenderer::StencilPathArgs::validate()
const {
51 canArgs.fCaps =
args.fContext->priv().caps();
52 canArgs.
fProxy =
args.fSurfaceDrawContext->asRenderTargetProxy();
63 if (!
args.fUserStencilSettings->isUnused()) {
77 if (
path.isInverseFillType()) {
100 args.fSurfaceDrawContext,
102 args.fClipConservativeBounds,
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
bool isSimpleFill() const
void asPath(SkPath *out) const
const GrStyle & style() const
bool drawPath(const DrawPathArgs &args)
virtual void onStencilPath(const StencilPathArgs &)
@ kNoRestriction_StencilSupport
virtual StencilSupport onGetStencilSupport(const GrStyledShape &) const
CanDrawPath canDrawPath(const CanDrawPathArgs &args) const
StencilSupport getStencilSupport(const GrStyledShape &shape) const
static void GetPathDevBounds(const SkPath &path, SkISize devSize, const SkMatrix &matrix, SkRect *bounds)
virtual bool onDrawPath(const DrawPathArgs &args)=0
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
unsigned useCenter Optional< SkMatrix > matrix
Optional< SkRect > bounds
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
static constexpr Init< Ref, Test, TestMask, PassOp, FailOp, WriteMask > StaticInit()
static SkRect Make(const SkISize &size)
const GrStyledShape * fShape
const SkIRect * fClipConservativeBounds
bool fHasUserStencilSettings
const SkSurfaceProps * fSurfaceProps
const SkMatrix * fViewMatrix
const GrRenderTargetProxy * fProxy
const GrStyledShape * fShape
const SkMatrix * fViewMatrix
const GrStyledShape * fShape
SurfaceDrawContext * fSurfaceDrawContext
const SkIRect * fClipConservativeBounds