diff options
Diffstat (limited to 'src/effects/SkLayerRasterizer.cpp')
-rw-r--r-- | src/effects/SkLayerRasterizer.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/effects/SkLayerRasterizer.cpp b/src/effects/SkLayerRasterizer.cpp index 90fd59b585..720d2f0f88 100644 --- a/src/effects/SkLayerRasterizer.cpp +++ b/src/effects/SkLayerRasterizer.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2006 The Android Open Source Project * @@ -6,7 +5,6 @@ * found in the LICENSE file. */ - #include "SkLayerRasterizer.h" #include "SkDraw.h" #include "SkReadBuffer.h" @@ -50,17 +48,6 @@ SkLayerRasterizer::~SkLayerRasterizer() { clean_up_layers(const_cast<SkDeque*>(fLayers)); } -#ifdef SK_SUPPORT_LEGACY_LAYERRASTERIZER_API -void SkLayerRasterizer::addLayer(const SkPaint& paint, SkScalar dx, - SkScalar dy) { - SkASSERT(fLayers); - SkLayerRasterizer_Rec* rec = (SkLayerRasterizer_Rec*)fLayers->push_back(); - - SkNEW_PLACEMENT_ARGS(&rec->fPaint, SkPaint, (paint)); - rec->fOffset.set(dx, dy); -} -#endif - static bool compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkIRect* bounds) { |