equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef HUIFXVG10OUTLINEFILTER_H_ |
|
21 #define HUIFXVG10OUTLINEFILTER_H_ |
|
22 |
|
23 #include "HuiFxVg10FilterBase.h" |
|
24 |
|
25 class CHuiFxVg10OutlineFilter : public CHuiFxVg10FilterBase |
|
26 { |
|
27 public: |
|
28 static CHuiFxVg10OutlineFilter* NewL(); |
|
29 protected: |
|
30 void ConstructL(); |
|
31 void DrawEffect(CHuiFxEngine& aEngine, VGImage aTargetImage, VGImage aSourceImage, TInt aWidth, TInt aHeight); |
|
32 void CalculateMargin(TMargins &aMargin) const; |
|
33 CHuiFxVg10OutlineFilter *CloneL() const; |
|
34 private: |
|
35 void UpdateLUT(); |
|
36 |
|
37 TReal32 iOutlineX; |
|
38 TReal32 iOutlineY; |
|
39 TReal32 iSteepness; |
|
40 TRgb iColor; |
|
41 VGuint iLUT[256]; |
|
42 }; |
|
43 |
|
44 #endif /*HUIFXVG10OUTLINEFILTER_H_*/ |