GrShadowRRectOp.h 674 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2016 Google Inc.
  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 GrShadowRRectOp_DEFINED
  8. #define GrShadowRRectOp_DEFINED
  9. #include <memory>
  10. #include "src/gpu/GrColor.h"
  11. class GrDrawOp;
  12. class GrRecordingContext;
  13. class SkMatrix;
  14. class SkRRect;
  15. namespace GrShadowRRectOp {
  16. std::unique_ptr<GrDrawOp> Make(GrRecordingContext*,
  17. GrColor,
  18. const SkMatrix& viewMatrix,
  19. const SkRRect&,
  20. SkScalar blurWidth,
  21. SkScalar insetWidth);
  22. }
  23. #endif