8#ifndef PathRenderer_DEFINED
9#define PathRenderer_DEFINED
40 virtual const char*
name()
const = 0;
97 void validate()
const {
130 void validate()
const {
@ kYes
Do pre-clip the geometry before applying the (perspective) matrix.
@ kNo
Don't pre-clip the geometry before applying the (perspective) matrix.
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
bool drawPath(const DrawPathArgs &args)
virtual void onStencilPath(const StencilPathArgs &)
@ kNoRestriction_StencilSupport
@ kNoSupport_StencilSupport
@ kStencilOnly_StencilSupport
virtual StencilSupport onGetStencilSupport(const GrStyledShape &) const
virtual const char * name() const =0
CanDrawPath canDrawPath(const CanDrawPathArgs &args) const
virtual CanDrawPath onCanDrawPath(const CanDrawPathArgs &args) const =0
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
void stencilPath(const StencilPathArgs &args)
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
const GrStyledShape * fShape
const SkIRect * fClipConservativeBounds
bool fHasUserStencilSettings
const SkSurfaceProps * fSurfaceProps
const SkMatrix * fViewMatrix
SkDEBUGCODE(CanDrawPathArgs() { memset(this, 0, sizeof(*this));}) const GrCaps *fCaps
const GrRenderTargetProxy * fProxy
const GrStyledShape * fShape
SurfaceDrawContext * fSurfaceDrawContext
const SkMatrix * fViewMatrix
const SkIRect * fClipConservativeBounds
GrRecordingContext * fContext
const GrUserStencilSettings * fUserStencilSettings
const SkMatrix * fViewMatrix
SkDEBUGCODE(StencilPathArgs() { memset(this, 0, sizeof(*this));}) GrRecordingContext *fContext
const GrStyledShape * fShape
SurfaceDrawContext * fSurfaceDrawContext
const SkIRect * fClipConservativeBounds