Flutter Engine
The Flutter Engine
|
#include <SkCanvasStack.h>
Public Member Functions | |
SkCanvasStack (int width, int height) | |
~SkCanvasStack () override | |
void | pushCanvas (std::unique_ptr< SkCanvas >, const SkIPoint &origin) |
void | removeAll () override |
void | addCanvas (SkCanvas *) override |
void | removeCanvas (SkCanvas *) override |
Public Member Functions inherited from SkNWayCanvas | |
SkNWayCanvas (int width, int height) | |
~SkNWayCanvas () override | |
virtual void | addCanvas (SkCanvas *) |
virtual void | removeCanvas (SkCanvas *) |
virtual void | removeAll () |
Public Member Functions inherited from SkNoDrawCanvas | |
SkNoDrawCanvas (int width, int height) | |
SkNoDrawCanvas (const SkIRect &) | |
void | resetCanvas (int w, int h) |
void | resetCanvas (const SkIRect &rect) |
Public Member Functions inherited from SkCanvas | |
SkCanvas () | |
SkCanvas (int width, int height, const SkSurfaceProps *props=nullptr) | |
SkCanvas (sk_sp< SkDevice > device) | |
SkCanvas (const SkBitmap &bitmap) | |
SkCanvas (const SkBitmap &bitmap, const SkSurfaceProps &props) | |
virtual | ~SkCanvas () |
SkImageInfo | imageInfo () const |
bool | getProps (SkSurfaceProps *props) const |
SkSurfaceProps | getBaseProps () const |
SkSurfaceProps | getTopProps () const |
virtual SkISize | getBaseLayerSize () const |
sk_sp< SkSurface > | makeSurface (const SkImageInfo &info, const SkSurfaceProps *props=nullptr) |
virtual GrRecordingContext * | recordingContext () const |
virtual skgpu::graphite::Recorder * | recorder () const |
SkSurface * | getSurface () const |
void * | accessTopLayerPixels (SkImageInfo *info, size_t *rowBytes, SkIPoint *origin=nullptr) |
SkRasterHandleAllocator::Handle | accessTopRasterHandle () const |
bool | peekPixels (SkPixmap *pixmap) |
bool | readPixels (const SkImageInfo &dstInfo, void *dstPixels, size_t dstRowBytes, int srcX, int srcY) |
bool | readPixels (const SkPixmap &pixmap, int srcX, int srcY) |
bool | readPixels (const SkBitmap &bitmap, int srcX, int srcY) |
bool | writePixels (const SkImageInfo &info, const void *pixels, size_t rowBytes, int x, int y) |
bool | writePixels (const SkBitmap &bitmap, int x, int y) |
int | save () |
int | saveLayer (const SkRect *bounds, const SkPaint *paint) |
int | saveLayer (const SkRect &bounds, const SkPaint *paint) |
int | saveLayerAlphaf (const SkRect *bounds, float alpha) |
int | saveLayerAlpha (const SkRect *bounds, U8CPU alpha) |
int | saveLayer (const SaveLayerRec &layerRec) |
void | restore () |
int | getSaveCount () const |
void | restoreToCount (int saveCount) |
void | translate (SkScalar dx, SkScalar dy) |
void | scale (SkScalar sx, SkScalar sy) |
void | rotate (SkScalar degrees) |
void | rotate (SkScalar degrees, SkScalar px, SkScalar py) |
void | skew (SkScalar sx, SkScalar sy) |
void | concat (const SkMatrix &matrix) |
void | concat (const SkM44 &) |
void | setMatrix (const SkM44 &matrix) |
void | setMatrix (const SkMatrix &matrix) |
void | resetMatrix () |
void | clipRect (const SkRect &rect, SkClipOp op, bool doAntiAlias) |
void | clipRect (const SkRect &rect, SkClipOp op) |
void | clipRect (const SkRect &rect, bool doAntiAlias=false) |
void | clipIRect (const SkIRect &irect, SkClipOp op=SkClipOp::kIntersect) |
void | androidFramework_setDeviceClipRestriction (const SkIRect &rect) |
void | clipRRect (const SkRRect &rrect, SkClipOp op, bool doAntiAlias) |
void | clipRRect (const SkRRect &rrect, SkClipOp op) |
void | clipRRect (const SkRRect &rrect, bool doAntiAlias=false) |
void | clipPath (const SkPath &path, SkClipOp op, bool doAntiAlias) |
void | clipPath (const SkPath &path, SkClipOp op) |
void | clipPath (const SkPath &path, bool doAntiAlias=false) |
void | clipShader (sk_sp< SkShader >, SkClipOp=SkClipOp::kIntersect) |
void | clipRegion (const SkRegion &deviceRgn, SkClipOp op=SkClipOp::kIntersect) |
bool | quickReject (const SkRect &rect) const |
bool | quickReject (const SkPath &path) const |
SkRect | getLocalClipBounds () const |
bool | getLocalClipBounds (SkRect *bounds) const |
SkIRect | getDeviceClipBounds () const |
bool | getDeviceClipBounds (SkIRect *bounds) const |
void | drawColor (SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver) |
void | drawColor (const SkColor4f &color, SkBlendMode mode=SkBlendMode::kSrcOver) |
void | clear (SkColor color) |
void | clear (const SkColor4f &color) |
void | discard () |
void | drawPaint (const SkPaint &paint) |
void | drawPoints (PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint) |
void | drawPoint (SkScalar x, SkScalar y, const SkPaint &paint) |
void | drawPoint (SkPoint p, const SkPaint &paint) |
void | drawLine (SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint) |
void | drawLine (SkPoint p0, SkPoint p1, const SkPaint &paint) |
void | drawRect (const SkRect &rect, const SkPaint &paint) |
void | drawIRect (const SkIRect &rect, const SkPaint &paint) |
void | drawRegion (const SkRegion ®ion, const SkPaint &paint) |
void | drawOval (const SkRect &oval, const SkPaint &paint) |
void | drawRRect (const SkRRect &rrect, const SkPaint &paint) |
void | drawDRRect (const SkRRect &outer, const SkRRect &inner, const SkPaint &paint) |
void | drawCircle (SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint) |
void | drawCircle (SkPoint center, SkScalar radius, const SkPaint &paint) |
void | drawArc (const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint) |
void | drawArc (const SkArc &arc, const SkPaint &paint) |
void | drawRoundRect (const SkRect &rect, SkScalar rx, SkScalar ry, const SkPaint &paint) |
void | drawPath (const SkPath &path, const SkPaint &paint) |
void | drawImage (const SkImage *image, SkScalar left, SkScalar top) |
void | drawImage (const sk_sp< SkImage > &image, SkScalar left, SkScalar top) |
void | drawImage (const SkImage *, SkScalar x, SkScalar y, const SkSamplingOptions &, const SkPaint *=nullptr) |
void | drawImage (const sk_sp< SkImage > &image, SkScalar x, SkScalar y, const SkSamplingOptions &sampling, const SkPaint *paint=nullptr) |
void | drawImageRect (const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) |
void | drawImageRect (const SkImage *, const SkRect &dst, const SkSamplingOptions &, const SkPaint *=nullptr) |
void | drawImageRect (const sk_sp< SkImage > &image, const SkRect &src, const SkRect &dst, const SkSamplingOptions &sampling, const SkPaint *paint, SrcRectConstraint constraint) |
void | drawImageRect (const sk_sp< SkImage > &image, const SkRect &dst, const SkSamplingOptions &sampling, const SkPaint *paint=nullptr) |
void | drawImageNine (const SkImage *image, const SkIRect ¢er, const SkRect &dst, SkFilterMode filter, const SkPaint *paint=nullptr) |
void | drawImageLattice (const SkImage *image, const Lattice &lattice, const SkRect &dst, SkFilterMode filter, const SkPaint *paint=nullptr) |
void | drawImageLattice (const SkImage *image, const Lattice &lattice, const SkRect &dst) |
void | experimental_DrawEdgeAAQuad (const SkRect &rect, const SkPoint clip[4], QuadAAFlags aaFlags, const SkColor4f &color, SkBlendMode mode) |
void | experimental_DrawEdgeAAQuad (const SkRect &rect, const SkPoint clip[4], QuadAAFlags aaFlags, SkColor color, SkBlendMode mode) |
void | experimental_DrawEdgeAAImageSet (const ImageSetEntry imageSet[], int cnt, const SkPoint dstClips[], const SkMatrix preViewMatrices[], const SkSamplingOptions &, const SkPaint *paint=nullptr, SrcRectConstraint constraint=kStrict_SrcRectConstraint) |
void | drawSimpleText (const void *text, size_t byteLength, SkTextEncoding encoding, SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint) |
void | drawString (const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint) |
void | drawString (const SkString &str, SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint) |
void | drawGlyphs (int count, const SkGlyphID glyphs[], const SkPoint positions[], const uint32_t clusters[], int textByteCount, const char utf8text[], SkPoint origin, const SkFont &font, const SkPaint &paint) |
void | drawGlyphs (int count, const SkGlyphID glyphs[], const SkPoint positions[], SkPoint origin, const SkFont &font, const SkPaint &paint) |
void | drawGlyphs (int count, const SkGlyphID glyphs[], const SkRSXform xforms[], SkPoint origin, const SkFont &font, const SkPaint &paint) |
void | drawTextBlob (const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint) |
void | drawTextBlob (const sk_sp< SkTextBlob > &blob, SkScalar x, SkScalar y, const SkPaint &paint) |
void | drawPicture (const SkPicture *picture) |
void | drawPicture (const sk_sp< SkPicture > &picture) |
void | drawPicture (const SkPicture *picture, const SkMatrix *matrix, const SkPaint *paint) |
void | drawPicture (const sk_sp< SkPicture > &picture, const SkMatrix *matrix, const SkPaint *paint) |
void | drawVertices (const SkVertices *vertices, SkBlendMode mode, const SkPaint &paint) |
void | drawVertices (const sk_sp< SkVertices > &vertices, SkBlendMode mode, const SkPaint &paint) |
void | drawMesh (const SkMesh &mesh, sk_sp< SkBlender > blender, const SkPaint &paint) |
void | drawPatch (const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode mode, const SkPaint &paint) |
void | drawAtlas (const SkImage *atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions &sampling, const SkRect *cullRect, const SkPaint *paint) |
void | drawDrawable (SkDrawable *drawable, const SkMatrix *matrix=nullptr) |
void | drawDrawable (SkDrawable *drawable, SkScalar x, SkScalar y) |
void | drawAnnotation (const SkRect &rect, const char key[], SkData *value) |
void | drawAnnotation (const SkRect &rect, const char key[], const sk_sp< SkData > &value) |
virtual bool | isClipEmpty () const |
virtual bool | isClipRect () const |
SkM44 | getLocalToDevice () const |
SkMatrix | getLocalToDeviceAs3x3 () const |
SkMatrix | getTotalMatrix () const |
void | temporary_internal_getRgnClip (SkRegion *region) |
void | private_draw_shadow_rec (const SkPath &, const SkDrawShadowRec &) |
Protected Member Functions | |
void | didSetM44 (const SkM44 &) override |
void | onClipRect (const SkRect &, SkClipOp, ClipEdgeStyle) override |
void | onClipRRect (const SkRRect &, SkClipOp, ClipEdgeStyle) override |
void | onClipPath (const SkPath &, SkClipOp, ClipEdgeStyle) override |
void | onClipShader (sk_sp< SkShader >, SkClipOp) override |
void | onClipRegion (const SkRegion &, SkClipOp) override |
Protected Member Functions inherited from SkNWayCanvas | |
void | willSave () override |
SaveLayerStrategy | getSaveLayerStrategy (const SaveLayerRec &) override |
bool | onDoSaveBehind (const SkRect *) override |
void | willRestore () override |
void | didConcat44 (const SkM44 &) override |
void | didSetM44 (const SkM44 &) override |
void | didScale (SkScalar, SkScalar) override |
void | didTranslate (SkScalar, SkScalar) override |
void | onDrawDRRect (const SkRRect &, const SkRRect &, const SkPaint &) override |
void | onDrawGlyphRunList (const sktext::GlyphRunList &, const SkPaint &) override |
void | onDrawTextBlob (const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint) override |
void | onDrawSlug (const sktext::gpu::Slug *slug, const SkPaint &paint) override |
void | onDrawPatch (const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode, const SkPaint &paint) override |
void | onDrawPaint (const SkPaint &) override |
void | onDrawBehind (const SkPaint &) override |
void | onDrawPoints (PointMode, size_t count, const SkPoint pts[], const SkPaint &) override |
void | onDrawRect (const SkRect &, const SkPaint &) override |
void | onDrawRegion (const SkRegion &, const SkPaint &) override |
void | onDrawOval (const SkRect &, const SkPaint &) override |
void | onDrawArc (const SkRect &, SkScalar, SkScalar, bool, const SkPaint &) override |
void | onDrawRRect (const SkRRect &, const SkPaint &) override |
void | onDrawPath (const SkPath &, const SkPaint &) override |
void | onDrawImage2 (const SkImage *, SkScalar, SkScalar, const SkSamplingOptions &, const SkPaint *) override |
void | onDrawImageRect2 (const SkImage *, const SkRect &, const SkRect &, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override |
void | onDrawImageLattice2 (const SkImage *, const Lattice &, const SkRect &, SkFilterMode, const SkPaint *) override |
void | onDrawAtlas2 (const SkImage *, const SkRSXform[], const SkRect[], const SkColor[], int, SkBlendMode, const SkSamplingOptions &, const SkRect *, const SkPaint *) override |
void | onDrawVerticesObject (const SkVertices *, SkBlendMode, const SkPaint &) override |
void | onDrawShadowRec (const SkPath &, const SkDrawShadowRec &) override |
void | onClipRect (const SkRect &, SkClipOp, ClipEdgeStyle) override |
void | onClipRRect (const SkRRect &, SkClipOp, ClipEdgeStyle) override |
void | onClipPath (const SkPath &, SkClipOp, ClipEdgeStyle) override |
void | onClipShader (sk_sp< SkShader >, SkClipOp) override |
void | onClipRegion (const SkRegion &, SkClipOp) override |
void | onResetClip () override |
void | onDrawPicture (const SkPicture *, const SkMatrix *, const SkPaint *) override |
void | onDrawDrawable (SkDrawable *, const SkMatrix *) override |
void | onDrawAnnotation (const SkRect &, const char[], SkData *) override |
void | onDrawEdgeAAQuad (const SkRect &, const SkPoint[4], QuadAAFlags, const SkColor4f &, SkBlendMode) override |
void | onDrawEdgeAAImageSet2 (const ImageSetEntry[], int count, const SkPoint[], const SkMatrix[], const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override |
Protected Member Functions inherited from SkCanvasVirtualEnforcer< SkNoDrawCanvas > | |
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 ®ion, 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 |
SaveLayerStrategy | getSaveLayerStrategy (const SaveLayerRec &rec) override |
bool | onDoSaveBehind (const SkRect *) override |
void | onDrawAnnotation (const SkRect &, const char[], SkData *) override |
void | onDrawDRRect (const SkRRect &, const SkRRect &, const SkPaint &) override |
void | onDrawDrawable (SkDrawable *, const SkMatrix *) override |
void | onDrawTextBlob (const SkTextBlob *, SkScalar, SkScalar, const SkPaint &) override |
void | onDrawPatch (const SkPoint[12], const SkColor[4], const SkPoint[4], SkBlendMode, const SkPaint &) override |
void | onDrawPaint (const SkPaint &) override |
void | onDrawBehind (const SkPaint &) override |
void | onDrawPoints (PointMode, size_t, const SkPoint[], const SkPaint &) override |
void | onDrawRect (const SkRect &, const SkPaint &) override |
void | onDrawRegion (const SkRegion &, const SkPaint &) override |
void | onDrawOval (const SkRect &, const SkPaint &) override |
void | onDrawArc (const SkRect &, SkScalar, SkScalar, bool, const SkPaint &) override |
void | onDrawRRect (const SkRRect &, const SkPaint &) override |
void | onDrawPath (const SkPath &, const SkPaint &) override |
void | onDrawImage2 (const SkImage *, SkScalar, SkScalar, const SkSamplingOptions &, const SkPaint *) override |
void | onDrawImageRect2 (const SkImage *, const SkRect &, const SkRect &, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override |
void | onDrawImageLattice2 (const SkImage *, const Lattice &, const SkRect &, SkFilterMode, const SkPaint *) override |
void | onDrawAtlas2 (const SkImage *, const SkRSXform[], const SkRect[], const SkColor[], int, SkBlendMode, const SkSamplingOptions &, const SkRect *, const SkPaint *) override |
void | onDrawVerticesObject (const SkVertices *, SkBlendMode, const SkPaint &) override |
void | onDrawShadowRec (const SkPath &, const SkDrawShadowRec &) override |
void | onDrawPicture (const SkPicture *, const SkMatrix *, const SkPaint *) override |
void | onDrawEdgeAAQuad (const SkRect &, const SkPoint[4], QuadAAFlags, const SkColor4f &, SkBlendMode) override |
void | onDrawEdgeAAImageSet2 (const ImageSetEntry[], int, const SkPoint[], const SkMatrix[], const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override |
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 ®ion, 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 |
Protected Member Functions inherited from SkCanvas | |
virtual sk_sp< SkSurface > | onNewSurface (const SkImageInfo &info, const SkSurfaceProps &props) |
virtual bool | onPeekPixels (SkPixmap *pixmap) |
virtual bool | onAccessTopLayerPixels (SkPixmap *pixmap) |
virtual SkImageInfo | onImageInfo () const |
virtual bool | onGetProps (SkSurfaceProps *props, bool top) const |
virtual void | willSave () |
virtual SaveLayerStrategy | getSaveLayerStrategy (const SaveLayerRec &) |
virtual bool | onDoSaveBehind (const SkRect *) |
virtual void | willRestore () |
virtual void | didRestore () |
virtual void | didConcat44 (const SkM44 &) |
virtual void | didSetM44 (const SkM44 &) |
virtual void | didTranslate (SkScalar, SkScalar) |
virtual void | didScale (SkScalar, SkScalar) |
virtual void | onDrawPaint (const SkPaint &paint) |
virtual void | onDrawBehind (const SkPaint &paint) |
virtual void | onDrawRect (const SkRect &rect, const SkPaint &paint) |
virtual void | onDrawRRect (const SkRRect &rrect, const SkPaint &paint) |
virtual void | onDrawDRRect (const SkRRect &outer, const SkRRect &inner, const SkPaint &paint) |
virtual void | onDrawOval (const SkRect &rect, const SkPaint &paint) |
virtual void | onDrawArc (const SkRect &rect, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint) |
virtual void | onDrawPath (const SkPath &path, const SkPaint &paint) |
virtual void | onDrawRegion (const SkRegion ®ion, const SkPaint &paint) |
virtual void | onDrawTextBlob (const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint) |
virtual void | onDrawGlyphRunList (const sktext::GlyphRunList &glyphRunList, const SkPaint &paint) |
virtual void | onDrawPatch (const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode mode, const SkPaint &paint) |
virtual void | onDrawPoints (PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint) |
virtual void | onDrawImage2 (const SkImage *, SkScalar dx, SkScalar dy, const SkSamplingOptions &, const SkPaint *) |
virtual void | onDrawImageRect2 (const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) |
virtual void | onDrawImageLattice2 (const SkImage *, const Lattice &, const SkRect &dst, SkFilterMode, const SkPaint *) |
virtual void | onDrawAtlas2 (const SkImage *, const SkRSXform[], const SkRect src[], const SkColor[], int count, SkBlendMode, const SkSamplingOptions &, const SkRect *cull, const SkPaint *) |
virtual void | onDrawEdgeAAImageSet2 (const ImageSetEntry imageSet[], int count, const SkPoint dstClips[], const SkMatrix preViewMatrices[], const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) |
virtual void | onDrawVerticesObject (const SkVertices *vertices, SkBlendMode mode, const SkPaint &paint) |
virtual void | onDrawMesh (const SkMesh &, sk_sp< SkBlender >, const SkPaint &) |
virtual void | onDrawAnnotation (const SkRect &rect, const char key[], SkData *value) |
virtual void | onDrawShadowRec (const SkPath &, const SkDrawShadowRec &) |
virtual void | onDrawDrawable (SkDrawable *drawable, const SkMatrix *matrix) |
virtual void | onDrawPicture (const SkPicture *picture, const SkMatrix *matrix, const SkPaint *paint) |
virtual void | onDrawEdgeAAQuad (const SkRect &rect, const SkPoint clip[4], QuadAAFlags aaFlags, const SkColor4f &color, SkBlendMode mode) |
virtual void | onClipRect (const SkRect &rect, SkClipOp op, ClipEdgeStyle edgeStyle) |
virtual void | onClipRRect (const SkRRect &rrect, SkClipOp op, ClipEdgeStyle edgeStyle) |
virtual void | onClipPath (const SkPath &path, SkClipOp op, ClipEdgeStyle edgeStyle) |
virtual void | onClipShader (sk_sp< SkShader >, SkClipOp) |
virtual void | onClipRegion (const SkRegion &deviceRgn, SkClipOp op) |
virtual void | onResetClip () |
virtual void | onDiscard () |
virtual sk_sp< sktext::gpu::Slug > | onConvertGlyphRunListToSlug (const sktext::GlyphRunList &glyphRunList, const SkPaint &paint) |
virtual void | onDrawSlug (const sktext::gpu::Slug *slug, const SkPaint &paint) |
SkCanvas (const SkIRect &bounds) | |
Like NWayCanvas, in that it forwards all canvas methods to each sub-canvas that is "pushed".
Unlike NWayCanvas, this takes ownership of each subcanvas, and deletes them when this canvas is deleted.
Definition at line 36 of file SkCanvasStack.h.
Definition at line 19 of file SkCanvasStack.cpp.
|
override |
Definition at line 22 of file SkCanvasStack.cpp.
|
inlineoverridevirtual |
|
overrideprotectedvirtual |
We need to handle setMatrix specially as it overwrites the matrix in each canvas unlike all other matrix operations (i.e. translate, scale, etc) which just pre-concatenate with the existing matrix.
Reimplemented from SkNWayCanvas.
Definition at line 78 of file SkCanvasStack.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkNWayCanvas.
Definition at line 97 of file SkCanvasStack.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkNWayCanvas.
Definition at line 87 of file SkCanvasStack.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkNWayCanvas.
Definition at line 107 of file SkCanvasStack.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkNWayCanvas.
Definition at line 92 of file SkCanvasStack.cpp.
Reimplemented from SkNWayCanvas.
Definition at line 102 of file SkCanvasStack.cpp.
Definition at line 26 of file SkCanvasStack.cpp.
|
overridevirtual |
Reimplemented from SkNWayCanvas.
Definition at line 54 of file SkCanvasStack.cpp.
|
inlineoverridevirtual |