diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-12 22:23:32 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-12 22:23:32 +0000 |
commit | 9c5435de44ed491353b41f863c4e176b6e7ddc94 (patch) | |
tree | aabb74772216fa1cbc75a2c77892076b33711cbe /include/effects | |
parent | 14e21270f5714f391c0319e9728040e074b9c5e0 (diff) |
Revert "Implement an SkPicture image filter source. This is required for the external-SVG reference feature of feImage. It simply plays back an SkPicture to a given destination rect."
This reverts commit a620349a24471546ad2e8f0679774c1f5b4de0a4 (r12656).
git-svn-id: http://skia.googlecode.com/svn/trunk@12657 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects')
-rw-r--r-- | include/effects/SkPictureImageFilter.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/include/effects/SkPictureImageFilter.h b/include/effects/SkPictureImageFilter.h deleted file mode 100644 index 98d72d9869..0000000000 --- a/include/effects/SkPictureImageFilter.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2013 The Android Open Source Project - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef SkPictureImageFilter_DEFINED -#define SkPictureImageFilter_DEFINED - -#include "SkImageFilter.h" -#include "SkPicture.h" - -class SK_API SkPictureImageFilter : public SkImageFilter { -public: - /** - * Refs the passed-in picture. - */ - explicit SkPictureImageFilter(SkPicture* picture); - - /** - * Refs the passed-in picture. rect can be used to crop or expand the destination rect when - * the picture is drawn. (No scaling is implied by the dest rect; only the CTM is applied.) - */ - SkPictureImageFilter(SkPicture* picture, const SkRect& rect); - - SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPictureImageFilter) - -protected: - virtual ~SkPictureImageFilter(); - explicit SkPictureImageFilter(SkFlattenableReadBuffer& buffer); - virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; - virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, - SkBitmap* result, SkIPoint* offset) SK_OVERRIDE; - -private: - SkPicture* fPicture; - SkRect fRect; - typedef SkImageFilter INHERITED; -}; - -#endif |