class SkPath; class SkRRect; class SkShader; enumclass SkClipOp; struct SkRect;
/** * 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.
*/ class SkCanvasStack : public SkNWayCanvas { public:
SkCanvasStack(int width, int height);
~SkCanvasStack() override;
/* * The following add/remove canvas methods are overrides from SkNWayCanvas * that do not make sense in the context of our CanvasStack, but since we * can share most of the other implementation of NWay we override those * methods to be no-ops.
*/ void addCanvas(SkCanvas*) override { SkDEBUGFAIL("Invalid Op"); } void removeCanvas(SkCanvas*) override { SkDEBUGFAIL("Invalid Op"); }
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.