8 #ifndef SkCanvasVirtualEnforcer_DEFINED
9 #define SkCanvasVirtualEnforcer_DEFINED
16 template <
typename Base>
27 const SkPaint& paint)
override = 0;
30 const SkPaint& paint)
override = 0;
35 const SkPaint& paint)
override = 0;
39 const SkPaint& paint)
override = 0;
41 const SkPaint& paint)
override = 0;
43 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
58 const SkPaint* paint)
override = 0;
SkBlendMode
Blends are operators that take in two colors (source, destination) and return a new color.
Definition: SkBlendMode.h:38
uint32_t SkColor
32-bit ARGB color value, unpremultiplied.
Definition: SkColor.h:37
float SkScalar
Definition: SkScalar.h:14
Definition: SkCanvasVirtualEnforcer.h:17
void onDrawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint) override=0
void onDrawRect(const SkRect &rect, const SkPaint &paint) override=0
void onDrawRegion(const SkRegion ®ion, const SkPaint &paint) override=0
void onDrawShadowRec(const SkPath &, const SkDrawShadowRec &) override=0
void onDrawPicture(const SkPicture *picture, const SkMatrix *matrix, const SkPaint *paint) override=0
void onDrawBehind(const SkPaint &) override
Definition: SkCanvasVirtualEnforcer.h:23
void onDrawRRect(const SkRRect &rrect, const SkPaint &paint) override=0
void onDrawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint) override=0
void onDrawAnnotation(const SkRect &rect, const char key[], SkData *value) override=0
void onDrawOval(const SkRect &rect, const SkPaint &paint) override=0
void onDrawDrawable(SkDrawable *drawable, const SkMatrix *matrix) override=0
void onDrawArc(const SkRect &rect, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint) override=0
void onDrawDRRect(const SkRRect &outer, const SkRRect &inner, 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 onDrawPath(const SkPath &path, const SkPaint &paint) override=0
void onDrawPaint(const SkPaint &paint) override=0
void onDrawEdgeAAQuad(const SkRect &rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags, const SkColor4f &color, SkBlendMode mode) override=0
PointMode
Definition: SkCanvas.h:1188
QuadAAFlags
Experimental.
Definition: SkCanvas.h:1585
SkData holds an immutable data buffer.
Definition: SkData.h:25
Base-class for objects that draw into SkCanvas.
Definition: SkDrawable.h:37
SkMatrix holds a 3x3 matrix for transforming coordinates.
Definition: SkMatrix.h:53
SkPaint controls options applied when drawing.
Definition: SkPaint.h:44
SkPath contain geometry.
Definition: SkPath.h:58
SkPicture records drawing commands made to SkCanvas.
Definition: SkPicture.h:44
SkRRect describes a rounded rectangle with a bounds and a pair of radii for each corner.
Definition: SkRRect.h:35
SkRegion describes the set of pixels used to clip SkCanvas.
Definition: SkRegion.h:30
SkTextBlob combines multiple text runs into an immutable container.
Definition: SkTextBlob.h:41
RGBA color value, holding four floating point components.
SkRect holds four float coordinates describing the upper and lower bounds of a rectangle.
Definition: SkRect.h:582