uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiFxVg10BevelFilter.cpp
changeset 29 ac3859d43844
parent 0 15bf7259bb7c
equal deleted inserted replaced
28:423dd85009cf 29:ac3859d43844
    57     filter->CopyParameterL(KLitOutlineY, &filter->iOutlineY, this);
    57     filter->CopyParameterL(KLitOutlineY, &filter->iOutlineY, this);
    58     filter->CopyParameterL(KLitSteepness, &filter->iSteepness, this);
    58     filter->CopyParameterL(KLitSteepness, &filter->iSteepness, this);
    59     return filter;
    59     return filter;
    60     }
    60     }
    61 
    61 
    62 void CHuiFxVg10BevelFilter::DrawEffect(CHuiFxEngine& aEngine, VGImage aTargetImage, VGImage aSourceImage, TInt aWidth, TInt aHeight)
    62 void CHuiFxVg10BevelFilter::DrawEffect(CHuiFxEngine& aEngine, VGImage aTargetImage, VGImage aSourceImage, TInt aWidth, TInt aHeight, TBool /*aHasSurface*/)
    63     {
    63     {
    64     VGfloat outline_x = clamp(iOutlineX, EPSILON, 128.0f);
    64     VGfloat outline_x = clamp(iOutlineX, EPSILON, 128.0f);
    65     VGfloat outline_y = clamp(iOutlineY, EPSILON, 128.0f);
    65     VGfloat outline_y = clamp(iOutlineY, EPSILON, 128.0f);
    66     VGubyte steepness = (VGubyte)clamp(iSteepness, 0.0f, 255.0f);
    66     VGubyte steepness = (VGubyte)clamp(iSteepness, 0.0f, 255.0f);
    67 //    VGint width = vgGetParameteri(aSourceImage, VG_IMAGE_WIDTH);
    67 //    VGint width = vgGetParameteri(aSourceImage, VG_IMAGE_WIDTH);