Skia
2D Graphics Library
SkCanvasVirtualEnforcer< Base > Class Template Referenceabstract

#include <SkCanvasVirtualEnforcer.h>

Inheritance diagram for SkCanvasVirtualEnforcer< Base >:

Protected Member Functions

void onDrawPaint (const SkPaint &paint) override=0
 
void onDrawBehind (const SkPaint &) override
 
void onDrawRect (const SkRect &rect, const SkPaint &paint) override=0
 
void onDrawRRect (const SkRRect &rrect, const SkPaint &paint) override=0
 
void onDrawDRRect (const SkRRect &outer, const SkRRect &inner, const SkPaint &paint) override=0
 
void onDrawOval (const SkRect &rect, const SkPaint &paint) override=0
 
void onDrawArc (const SkRect &rect, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint) override=0
 
void onDrawPath (const SkPath &path, const SkPaint &paint) override=0
 
void onDrawRegion (const SkRegion &region, const SkPaint &paint) override=0
 
void onDrawTextBlob (const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint) override=0
 
void onDrawPatch (const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode mode, const SkPaint &paint) override=0
 
void onDrawPoints (SkCanvas::PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint) override=0
 
void onDrawEdgeAAQuad (const SkRect &rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags, const SkColor4f &color, SkBlendMode mode) override=0
 
void onDrawAnnotation (const SkRect &rect, const char key[], SkData *value) override=0
 
void onDrawShadowRec (const SkPath &, const SkDrawShadowRec &) override=0
 
void onDrawDrawable (SkDrawable *drawable, const SkMatrix *matrix) override=0
 
void onDrawPicture (const SkPicture *picture, const SkMatrix *matrix, const SkPaint *paint) override=0
 

Member Function Documentation

◆ onDrawAnnotation()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawAnnotation ( const SkRect rect,
const char  key[],
SkData value 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawArc()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawArc ( const SkRect rect,
SkScalar  startAngle,
SkScalar  sweepAngle,
bool  useCenter,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawBehind()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawBehind ( const SkPaint )
inlineoverrideprotected

◆ onDrawDrawable()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawDrawable ( SkDrawable drawable,
const SkMatrix matrix 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawDRRect()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawDRRect ( const SkRRect outer,
const SkRRect inner,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawEdgeAAQuad()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawEdgeAAQuad ( const SkRect rect,
const SkPoint  clip[4],
SkCanvas::QuadAAFlags  aaFlags,
const SkColor4f color,
SkBlendMode  mode 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawOval()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawOval ( const SkRect rect,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawPaint()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawPaint ( const SkPaint paint)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawPatch()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawPatch ( const SkPoint  cubics[12],
const SkColor  colors[4],
const SkPoint  texCoords[4],
SkBlendMode  mode,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawPath()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawPath ( const SkPath path,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawPicture()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawPicture ( const SkPicture picture,
const SkMatrix matrix,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawPoints()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawPoints ( SkCanvas::PointMode  mode,
size_t  count,
const SkPoint  pts[],
const SkPaint paint 
)
overrideprotectedpure virtual

◆ onDrawRect()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawRect ( const SkRect rect,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawRegion()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawRegion ( const SkRegion region,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawRRect()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawRRect ( const SkRRect rrect,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawShadowRec()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawShadowRec ( const SkPath ,
const SkDrawShadowRec &   
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.

◆ onDrawTextBlob()

template<typename Base >
void SkCanvasVirtualEnforcer< Base >::onDrawTextBlob ( const SkTextBlob blob,
SkScalar  x,
SkScalar  y,
const SkPaint paint 
)
overrideprotectedpure virtual

Implemented in SkOverdrawCanvas.


The documentation for this class was generated from the following file: