SkBlurDrawLooper.h 658 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright 2008 The Android Open Source Project
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef SkBlurDrawLooper_DEFINED
  8. #define SkBlurDrawLooper_DEFINED
  9. #include "include/core/SkDrawLooper.h"
  10. /**
  11. * Draws a shadow of the object (possibly offset), and then draws the original object in
  12. * its original position.
  13. */
  14. namespace SkBlurDrawLooper {
  15. sk_sp<SkDrawLooper> SK_API Make(SkColor4f color, SkColorSpace* cs,
  16. SkScalar sigma, SkScalar dx, SkScalar dy);
  17. sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
  18. };
  19. #endif