michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkDrawEmboss_DEFINED michael@0: #define SkDrawEmboss_DEFINED michael@0: michael@0: #include "SkDrawBlur.h" michael@0: michael@0: class SkDrawEmboss : public SkDrawMaskFilter { michael@0: DECLARE_DRAW_MEMBER_INFO(Emboss); michael@0: SkDrawEmboss(); michael@0: virtual SkMaskFilter* getMaskFilter() SK_OVERRIDE; michael@0: protected: michael@0: SkTDScalarArray fDirection; michael@0: SkScalar fSigma; michael@0: SkScalar fAmbient; michael@0: SkScalar fSpecular; michael@0: michael@0: typedef SkDrawMaskFilter INHERITED; michael@0: }; michael@0: michael@0: #endif // SkDrawEmboss_DEFINED