aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-07-12 15:41:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-12 15:41:08 -0700
commite504dbc092ec09c056ba3aa72693962a06d3aa4c (patch)
tree5954debaf927a657581e704de460e2b0d621242d /include/core
parentc4600204f2cdf78c1f4a61a5872afe03fb819f60 (diff)
Revert "Added the framework for having canvas/recorder/picture record depth_set's."
1-click revert failed. This reverts commit 6d3fb898d5f73a82e36f11c712a633c3921ed518. TBR= BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2148543002 Review-Url: https://codereview.chromium.org/2148543002
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkCanvas.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index bba045c490..97aa3c7d8e 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -451,13 +451,6 @@ public:
*/
void resetMatrix();
- /** Set the current draw depth of the canvas.
- @param z The SkScalar depth; it's tracked in the save/restore stack.
- Negative into screen, positive out of screen.
- Defaults to 0.
- */
- void translateZ(SkScalar z);
-
/**
* Modify the current clip with the specified rectangle.
* @param rect The rect to combine with the current clip
@@ -1267,10 +1260,6 @@ public:
void temporary_internal_describeTopLayer(SkMatrix* matrix, SkIRect* clip_bounds);
protected:
- /** Returns the current (cumulative) draw depth of the canvas.
- */
- SkScalar getZ() const;
-
/** After calling saveLayer(), there can be any number of devices that make
up the top-most drawing area. LayerIter can be used to iterate through
those devices. Note that the iterator is only valid until the next API
@@ -1336,7 +1325,6 @@ protected:
virtual void didRestore() {}
virtual void didConcat(const SkMatrix&) {}
virtual void didSetMatrix(const SkMatrix&) {}
- virtual void didTranslateZ(SkScalar) {}
virtual void onDrawAnnotation(const SkRect&, const char key[], SkData* value);
virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&);