equal
deleted
inserted
replaced
68 aMargin.iTop = iOutlineY*2; |
68 aMargin.iTop = iOutlineY*2; |
69 aMargin.iBottom = iOutlineY*2; |
69 aMargin.iBottom = iOutlineY*2; |
70 } |
70 } |
71 |
71 |
72 |
72 |
73 void CHuiFxVg10OutlineFilter::DrawEffect(CHuiFxEngine& aEngine, VGImage aTargetImage, VGImage aSourceImage, TInt aWidth, TInt aHeight) |
73 void CHuiFxVg10OutlineFilter::DrawEffect(CHuiFxEngine& aEngine, VGImage aTargetImage, VGImage aSourceImage, TInt aWidth, TInt aHeight, TBool /*aHasSurface*/) |
74 { |
74 { |
75 VGfloat outline_x = clamp(iOutlineX, EPSILON, 128.0f); |
75 VGfloat outline_x = clamp(iOutlineX, EPSILON, 128.0f); |
76 VGfloat outline_y = clamp(iOutlineY, EPSILON, 128.0f); |
76 VGfloat outline_y = clamp(iOutlineY, EPSILON, 128.0f); |
77 VGubyte steepness = clamp((VGubyte)iSteepness, (VGubyte)0, (VGubyte)255); |
77 VGubyte steepness = clamp((VGubyte)iSteepness, (VGubyte)0, (VGubyte)255); |
78 |
78 |